Aller au contenu

  • Planète Citroën est le forum qui regroupe les passionnés des véhicules de la marque Citroën ainsi que de ses cousines (Peugeot, DS Automobiles et autres PSA, maintenant Stellantis).
    Ce forum s'adresse autant aux véhicules anciens (DS, CX, C6, ...) qu'aux véhicules les plus récents, comme les derniers véhicules de la marque hybrides ou électriques.

    Retrouvez ici des passionnés experts qui partageront leur expérience mécanique ainsi que leur connaissances sur les codes OBD, DiagBox et Lexia, ServiceBox, ...

    Les adhérents bénéficient de conditions particulières chez notre partenaire Ma Pièce Auto Bretagne.

Intégration des RADARS sur GPS RT3 /NAVIDRIVE


Invité jeff_kart

Messages recommandés

Hallo Janfi, the label is TDO008400 the error is in configure when i copy the map and the error is "unknown map format or unreadable map"... please help me...

 

a map starting with TDO is an old map, 2004/2005 or before which cannot be patched by RTxMapEditor.

 

TDO008400 is a 2005 map, and the copy you have is a fake. The original config.log contains lines like :

CONFIGURATION

 

NumeroFileSif = 48

1-) Est Europa 2004_Q4\p1.sif

2-) Est Europa 2004_Q4\h1.sif

3-) Est Europa 2004_Q4\h3.sif

4-) Est Europa 2004_Q4\m1.sif

5-) Est Europa 2004_Q4\m2.sif

6-) MRE 2004_Q4\e1.sif

7-) MRE 2004_Q4\e2.sif

...

...

 

but "navteq switzerland-north italy 2007 - 2008" has been added by someone who wants to fool people.

 

That's often the case with maps coming from unauthorized sources...

 

2005/2006 or 2006/2007 maps start with TD300 and 2007/2008 maps start with TD41. Only these kind of maps are accepted by RTxMapEditor.

Lien vers le commentaire
Partager sur d’autres sites


  • Réponses 1,9 k
  • Créé
  • Dernière réponse

Meilleurs contributeurs dans ce sujet

Meilleurs contributeurs dans ce sujet

Images postées

Invité virmetho

bonjour je viens d'acheter une 407 avec le système RT3,

après avoir parcouru le forum, j'ai téléchargé RTxmapeditor malheureusement je pêche lorsqu'il faut copier la carte, je sélectionne le lecteur de cd mais je ne sais quel fichier choisir (1-01, 1-02, 1-03 et ainsi de suite)

pour info la version du frimware est V6-62 et la carte est France 2006/2007

d'avance merci pour votre aide

Lien vers le commentaire
Partager sur d’autres sites

bonjour je viens d'acheter une 407 avec le système RT3,

après avoir parcouru le forum, j'ai téléchargé RTxmapeditor malheureusement je pêche lorsqu'il faut copier la carte, je sélectionne le lecteur de cd mais je ne sais quel fichier choisir (1-01, 1-02, 1-03 et ainsi de suite)

pour info la version du frimware est V6-62 et la carte est France 2006/2007

d'avance merci pour votre aide

 

Dans la cas d'une recopie de carte originale, il faut juste sélectionner le lecteur ou se trouve la carte et cliquer sur OK.

 

On choisit un répertoire quand on copie la carte depuis un disque dur, un DVD...

Lien vers le commentaire
Partager sur d’autres sites

  • 2 semaines après...
Invité ghebert850
bonjour j'ai suivi à la lettre les modifications pour l'insertion des poi radars sur le rt3, quand je met le guidage il me dit d'inserer le cd, pourriez vous me donner une explication svp merçi,super forum
Lien vers le commentaire
Partager sur d’autres sites

Invité scanfirst
bonjour j'ai suivi à la lettre les modifications pour l'insertion des poi radars sur le rt3, quand je met le guidage il me dit d'inserer le cd, pourriez vous me donner une explication svp merçi,super forum

Bonjour,

La création du CD s'est réalisée sans problème ? Alors voir au niveau de la gravure, Vitesse de gravage par 4 maxi, ne pas faire de CD multisession, autoriser les noms longs des fichiers ISO.

Lien vers le commentaire
Partager sur d’autres sites

Invité ghebert850
merçi de votre réponse vitesse gravure 4 j'ai bien autoriser les noms longs pas de multisession mais j'ai remarque que par rapport au cd original le cd gravé ne fait pas la même taille? j'ai change de machine,pour refaire un nouveau cd , mais le résultat et idem je ne sais plus quoi faire?
Lien vers le commentaire
Partager sur d’autres sites

Invité pippo_c4ita

excuse me, janfy67, can i know exactly which files need Rtxmapeditor to patch the map with poi?

i have rt4, maps obvlious on hd and without installation cd, 2007-2008 I ed, and i need work first with italy map;

can i try to copy entire partition nav with usb system, (about 2.7 gb, maybe) to make it work with RtXm, patch it, and rewrite on nav partition? you have some ideas to suggest me? or what i can obtain something like original cd from nav partiton on hd?

many thanks... from all italian user!

 

at last, can i help you in italian traslation of rtxmap, if you want?

Lien vers le commentaire
Partager sur d’autres sites

excuse me, janfy67, can i know exactly which files need Rtxmapeditor to patch the map with poi?

i have rt4, maps obvlious on hd and without installation cd, 2007-2008 I ed, and i need work first with italy map;

can i try to copy entire partition nav with usb system, (about 2.7 gb, maybe) to make it work with RtXm, patch it, and rewrite on nav partition? you have some ideas to suggest me? or what i can obtain something like original cd from nav partiton on hd?

many thanks... from all italian user!

 

at last, can i help you in italian traslation of rtxmap, if you want?

 

Hi pippo_c4ita

 

RTxMapEditor0400 can use a part of the map partition to copy the "original" map from a directory instead of a CD-R (Copy button of the configure window). You need to copy at least all the files in the root of the map partition and the 001 directory for Italy. It will generate a "regular" CD to update your RT4.

 

If you can wait a few day, perhaps two weeks, RTxMapEditor0401 will have new menus to copy maps from RT4 hdd to a USB key and it will be very easy to do (of course, you'll need a RT4-USB cable).

 

Thanks a lot for your proposal of translation. I have to think first how I can manage 4 langages, because today even with 3 it's an heavy work. hundreds of strings, the user guide to maintain, many screenshots... I update the documentation these days for the next version and it takes me a lot of time.

Lien vers le commentaire
Partager sur d’autres sites

Invité pippo_c4ita

great, janfy67, if you realy introduce new menù for maps from hdd taken with usb!!

i belive many rt4 owner have usb cable, i've made just today, and I haven't still tried if it works!

thank's, i wait for you, in the between, i try copy whole root directory and 001 sub for italy... MAYBE, i hope!!

 

good work:buzz::buzz::buzz:

 

 

ps:re-sorry for my poor english!!

Lien vers le commentaire
Partager sur d’autres sites

New menus will look like :

 

http://img529.imageshack.us/img529/1865/usbensn3.png

 

to fill the USB key with the scripts needed to copy the map(s)

 

Once plugged in the RT4, the copy starts :

 

http://img529.imageshack.us/img529/8044/cdquest1rt4kj8.jpg

 

Then you have to copy the map in the configuration menu as it if was a CD. You just have to select the country to copy.

 

And a new button will also be available to put the patched map into the USB key

Lien vers le commentaire
Partager sur d’autres sites

Invité pippo_c4ita

GREAT !!!!

but i have another problem: sw 1558 ver 7.10.C-16 (05/09/07) so the known upgrade C-15 cd doesn't work anymore, i belive so! cable is ok, the light on the pen is on, but nothing happens!! solution? when i start hoping... go down, nooooo!!!!

Lien vers le commentaire
Partager sur d’autres sites

GREAT !!!!

but i have another problem: sw 1558 ver 7.10.C-16 (05/09/07) so the known upgrade C-15 cd doesn't work anymore, i belive so! cable is ok, the light on the pen is on, but nothing happens!! solution? when i start hoping... go down, nooooo!!!!

 

Which scripts are you talking about?

 

I can't speak for others, but the scripts I wrote for RTxMapEditor don't care (I hope it's 100% true) about the RT4 software version.

 

I simplified as much as possible the real software upgrade scripts (see rt4.wikidot.com for a good starting point) and remove the part in charge to check the version.

Lien vers le commentaire
Partager sur d’autres sites

Invité pippo_c4ita

janfy, i talk about SYSTEM_UPGRADE.CMD that is in Command dir, a kind of dos autoexec.bat. is writed in C language.

I' not sure it is the problem! i belive that this release 7.10.c-16, 1588, have usb disabled! nothing happens when i insert usb pen, 512 Mb or 8 Gb, but the light in on, fixed on; i checked red pin 3 with black pin 4 with tester, and i found about +5V, normal! the cable, joint with adaptor, works good on pc. RT4 seem not recognize usb connection, if it recognize, have to start something and write on screen that sw is older, right? it not see usb, this is reality! maybe i can try making a cd image... i see on disk 1 (firmware 7.10.c-15) the routine to clear rom, flasher rom, and on cd 2 (software) the routine to upgrade it. i'm scared to clear rom, but maybe i try... or i can modify everything on cd1 on FLASHER.ROM.CMD, so i can try to read user setting to modify on pc, and after, another cd, to rewrite it on hd. maybe it can works!

i'm not sure that if i modify SYSTEM_UPGRADE.CMD to avid checking routine, it works, because i see no recognize usb as starting upgrade disk.

more ideas???? HELP !!!

in c language, we can point to specific andress of one file, User_com.dat, to modify hex value, but how i can modify User_com.dat.inf with right crc check? in this way, we can prepare a cd that set some parameters automaticly, without usb, and after can send files from hd to usb pen directly.... it's possible, for you?

 

someone tell me that the problem is cd.inf (ver 1556). have you an cd.inf that works in every sw version, the same you use for upgrade maps for every sw?

 

or you can send me routine , RT4 version free, to write on cd that can do copy files form hd to usb??

sorry for english, i hope you understand me!

Lien vers le commentaire
Partager sur d’autres sites

Here's a file used to copy one map to a USB key without CD version check (a modified version of SYSTEM_UPGRADE.CMD) :

 

It runs only if it has been launched by a USB key. In your case, use the CopyOneFile procedure.

 

I do not have time this evening to analyze your problem, I'll try to take some time tomorrow, but without warranty. I'm going skying saturday morning and I have a lot to do before. Sorry

 

Janfi67

//*********************************************************************
//
//  MAP_COPY.CMD - Command script to copy maps from RT4 hdd to USB drive
//  generated by RTxMapEditor
//  (c) 2008, janfi67
//
//*********************************************************************

#define STR_STARTUP "MAP_COPY.CMD v1.0 initialization\n"
#define FILE_TRACE	"/trc.txt"

// Debug level : 0 normal, 1 high
#define DEBUG_LEVEL (0)

// Check CRC after writing : 0 no, 1 high
#define CHECK_CRC (0)

#define COPY_QUEST "Copier la carte dans la cle USB?"
#define COPY_DONE "Copie terminee!"
#define COPY_FAILED "Erreur durant la copie!"

// Script Types
typedef int  STATUS;
typedef void DIR;
typedef int  BOOL;
typedef void FILE;

#define TRUE     (1)
#define FALSE    (0)
#define OK       (0)
#define ERROR    (-1)
#define NULL     (void*) 0

// Constants
#define MAX_DRIVE_NAME_LENGTH 10
#define MAX_FILENAME_LENGTH   50
#define MAX_PATH_LENGTH       100
#define MAX_VERSION_LENGTH    95
#define MAX_CRC_LENGTH        20
#define MAX_QUESTION_LENGTH   50
#define MAX_DATE_CLOCK_LENGTH 100

#define FSEARCH_TABLE_FILE     "/UPG/Table/table_upgrade_excl.dat"

// Drive letters
#define DRIVE_CDROM "/D"
#define DRIVE_HDD   "/C"
#define DRIVE_TFFS  "/F"
#define DRIVE_USB   "/bd0"
#define DRIVE_NAV   "/H"
#define DRIVE_USER  "/I"


/*** SOFTWARE UPGRADE DEFINES ***/

typedef struct
{
 int   m_iIsNew;
 char  m_pVersion[MAX_VERSION_LENGTH];
 char  m_pFileName[MAX_PATH_LENGTH];
 char  m_pTargetPath[MAX_PATH_LENGTH];
 int   m_iSize;
} t_FileData;

#define MAX_APPLI_FILES 1000

/*** EXTERN FUNCTION DECLARATIONS ***/

// File operations VxWorks
int fputs(char * s, FILE * fp);
FILE* fopen(char * file, char * mode );
int fclose(FILE * fp);
STATUS xcopy ( char *src, char *dst );

// File operations builtins
STATUS UPGCopy (char* p_source, char* p_dest, int p_cut);
// STATUS UPGDelete (char* p_file);
STATUS UPGMKDir (char* p_dir);
// STATUS UPGMKDelete (char* p_dir);
int SearchAndTargetFileExclu ( char *Filename,
                        char *Tablename,
                        char *Param[],
                        int   NbParams,
                        char *RootDir,
                        char *TargetDir );
STATUS GetSearchResult(int index , char *SearchResult, char *targetPath );
int UPGSearchFile(char *Filename, char *RootDir, char *Param, char *TableDir );
STATUS UPGGetSearchResult(int index , char *SearchResult );
STATUS GetFileSize(char *file, int *size);
STATUS ReadFileCRC(char *l_pBynaryFileName, char *l_pCRC);
STATUS CheckCRCFile(char *l_file);

// String operations
STATUS strcpy (char* target, char* source);
STATUS strcat (char* target, char* source);
int strcmp (char* str1, char* str2);
int strncmp (char* str1, char* str2, int n);
STATUS strlen (char* str);
char* strstr(char* str, char* substr);

// MMI UPG Panel management
STATUS ShowBargraph(void);
STATUS ClearScreen(void);
STATUS StepBargraph(char *text, int index);
STATUS ShowCDVerification(void);
STATUS ShowCDProblem(void);
// STATUS ShowGSMCallInProgress(void);
STATUS ShowQuestionScreen(char *text, int *answer);

// Logging
STATUS SetUpgradeLogging( int TRUEFALSE );
STATUS EnableHistoryHandler ( int TRUEFALSE );

// Others VxWorks
STATUS taskDelay (int ticks);

// Other Builtins
void SetRebootAfterScript( int truefalse);
STATUS GetSourceDrive( char *srcDrive );
// STATUS GetUpgradeType( char *upgType );
STATUS SetPower( int stayOn);
STATUS GetCurrentDateClock(char *l_pDateClock);
STATUS ComputeCRCFile(char *l_pFileName, char *l_pCRC);
STATUS EnableSetPowerOffHandler(void);
int atoi(char * s);

/*** INTERN FUNCTION DECLARATION ***/

STATUS PrepareCopyList(t_FileData *p_pSoftUpgList,
                  		 char *p_pSourceDrive,
                  		 char *p_pRootDir,
                  		 char *p_pMask,
                  		 char *p_pTargetDrive,
                  		 char *p_pTargetDir,
                  		 char *p_pSearchParams[],
                  		 int   p_pNbSearchParams,
                  		 unsigned long *p_totalSize);
STATUS copyFileList(t_FileData *p_pList,
                   unsigned long p_totalSize,
                   unsigned long *p_completedSize,
                   char *label);
STATUS copyMaps(void);
STATUS copyOneFile(char* sourceDir, char* targetDir, char* fileName);
STATUS copyOneDir(char *sourceDrive, char *sourceDir, char *targetDrive, char *targetDir, char *label);
STATUS EndCopy(STATUS l_script_status);
int traceDebug(int level, char * s1,char * s2, char * s3, char * s4, char * s5);

// trace file on USB key
FILE* trcFile;

/****************************** MAIN ******************************/

int main(int argc, char **argv)
{
 // Local variables for general purpose
 STATUS l_script_status = OK;
 char l_pSourceDrive[MAX_DRIVE_NAME_LENGTH];
 char l_pQuestionText[MAX_QUESTION_LENGTH];
 int  l_iIsUpgRequired = FALSE;
 char l_pDateClock[MAX_DATE_CLOCK_LENGTH];
char trcFileName[MAX_PATH_LENGTH];


 /*** SCRIPT INITIALIZATION ***/

// no RT4 logging 
 SetUpgradeLogging(FALSE);
 EnableHistoryHandler(FALSE);
 
 // no USB key logging
 trcFile = NULL;

 //In case of power failure, switch off mainboard
 EnableSetPowerOffHandler();

 //Force Mainboard power supply in case of FP Reboot
 SetPower(TRUE);
 
// No reboot required
 SetRebootAfterScript(FALSE);

 // Check source drive is /bdO and if OK set up l_pSourceDrive with source drive
 if (GetSourceDrive(l_pSourceDrive) == ERROR) {
 	l_script_status = ERROR;
 }
 else if (strcmp(l_pSourceDrive, DRIVE_USB)!= 0){
   l_script_status = ERROR;
 }
 else	{
  // Trace intialization
  strcpy(trcFileName, DRIVE_USB);
  strcat(trcFileName, FILE_TRACE);
 	trcFile = fopen(trcFileName, "w");
 	traceDebug(0, STR_STARTUP, "source = ", l_pSourceDrive, NULL, NULL);

  // Check upgrade type is "NORMAL"
	if(argc != 3) {
   	// l_tUpgType = NORMAL;
   	if (GetCurrentDateClock(l_pDateClock) == ERROR) {
   		traceDebug(0,"Unable to determine current date", NULL, NULL, NULL, NULL);
   	}
   	else {
   		traceDebug(0,"Current date is ", l_pDateClock, NULL, NULL, NULL);
   	}
	}
	else {
   	traceDebug(0,"Only NORMAL mode is supported", l_pDateClock, NULL, NULL, NULL);
   	l_script_status = ERROR;
 	}
 }
 
 if (l_script_status != OK) {
  if (trcFile != NULL) {
   	traceDebug(0,"Copy map to USB ended with error", l_pDateClock, NULL, NULL, NULL);
 	}
   return EndCopy(l_script_status);
 }

// Ask user for copy
 strcpy (l_pQuestionText, COPY_QUEST );
 traceDebug(1,"Ask user: ", l_pQuestionText, NULL, NULL, NULL);
 ShowQuestionScreen(l_pQuestionText, &l_iIsUpgRequired);

 if ( FALSE == l_iIsUpgRequired ) {
 	traceDebug(0,"Copy map to USB canceled by user", NULL, NULL, NULL, NULL);
   return EndCopy(l_script_status);
 } else {
 	traceDebug(0,"Map copy to USB accepted by user", NULL, NULL, NULL, NULL);
 }
 
 // Copy map(s)
 l_script_status = copyMaps();

 if ( OK == l_script_status ) {
   strcpy (l_pQuestionText, COPY_DONE);
 } else {
   strcpy (l_pQuestionText, COPY_FAILED);
 }

	traceDebug(0,l_pQuestionText, NULL, NULL, NULL, NULL);
 ShowQuestionScreen(l_pQuestionText, &l_iIsUpgRequired);
 return EndCopy(l_script_status);
}

/********************** INTERN FUNCTION DEFINITION **********************/

//
// End of the copy process
// Close USB trace file if necessary and restore the screen
// 
STATUS EndCopy(STATUS l_script_status)
{
 if (trcFile != NULL) {
		traceDebug(1,"EndCopy", NULL, NULL, NULL, NULL);
		fclose(trcFile);
 }

 // Disable set power
 SetPower ( FALSE );
// Restore screen
 ClearScreen();
 return (l_script_status);
}

//
// Prepare a file list to be copied from SourceDrive, RootDir to TargetDrive, TargetDir with a script located on targetDrive 
//
STATUS PrepareCopyList (t_FileData *p_pList,						// List of files to be copied
                       char *p_pSourceDrive,							// source drive
                       char *p_pRootDir,									// source root dir
                       char *p_pMask,
                       char *p_pTargetDrive,							// target drive
                       char *p_pTargetDir,								// target root dir
                       char *p_pSearchParams[],
                       int p_iNbSearchParams,
                       unsigned long *p_pTotalSize
                     )
{
 STATUS l_status = OK;

 int  l_i;
 int  l_iCountInserted;
 BOOL l_bCopyRequired;

 char  l_pSearchRootDir[MAX_PATH_LENGTH];
 char  l_pTargetDir[MAX_PATH_LENGTH];
 char  l_pSearchResult[MAX_PATH_LENGTH];
 int   l_iNumSearchResult = 0;
 char  l_pTablePath[MAX_PATH_LENGTH];

 char l_pTargetPath[MAX_PATH_LENGTH];
 char l_pSourceVersion[MAX_VERSION_LENGTH];
 int  l_iSize;

	traceDebug(1,"PrepareCopyList: start", NULL, NULL, NULL, NULL);

 // Set counter of files already inserted in list and check max value
 for(l_iCountInserted=0; (p_pList[l_iCountInserted].m_iSize) && (l_iCountInserted 
 if ( MAX_APPLI_FILES == l_iCountInserted ) {
		traceDebug(0,"PrepareCopyList: FATAL ERROR: Too many files in list", NULL, NULL, NULL, NULL);
   return(ERROR);
 }

 // Search all files on source p_pSourceDrive, p_pRootDir 
 strcpy (l_pTablePath, p_pTargetDrive);							// scripts and data are located on target drive
 strcat (l_pTablePath, FSEARCH_TABLE_FILE);

 strcpy (l_pSearchRootDir, p_pSourceDrive);
 strcat (l_pSearchRootDir, p_pRootDir);

 strcpy (l_pTargetDir, p_pTargetDrive);
 strcat (l_pTargetDir, p_pTargetDir);									// add p_pTargetDir
 strcat (l_pTargetDir, p_pRootDir);

 l_iNumSearchResult = SearchAndTargetFileExclu ( p_pMask,
                                                 l_pTablePath,
                                                 p_pSearchParams,
                                                 p_iNbSearchParams,
                                                 l_pSearchRootDir,
                                                 l_pTargetDir );

	traceDebug(1,"PrepareCopyList: after SearchAndTargetFileExclu", NULL, NULL, NULL, NULL);

 if ( 0 == l_iNumSearchResult ) {
		traceDebug(0,"WARNING : no file found", NULL, NULL, NULL, NULL);
 }

 // Process search result file by file
 l_pSourceVersion[0]='\0';
 for (l_i=0; (l_i    l_bCopyRequired = FALSE;

   if (GetSearchResult(l_i, l_pSearchResult, l_pTargetPath) == ERROR) {
			traceDebug(0,"UPGGetSearchResult error", NULL, NULL, NULL, NULL);
     l_status = ERROR;
   } else {
     if (strlen(l_pSearchResult)) {
       l_bCopyRequired = TRUE;
				traceDebug(1,"file ", l_pTargetPath, " will be copied", NULL, NULL);
     }
   }

   // Get file size
   if (l_status == OK) {
     if (GetFileSize(l_pSearchResult, &l_iSize) == ERROR) {
				traceDebug(0,"GetFileSize ERROR on ", l_pTargetPath, NULL, NULL, NULL);
       l_status = ERROR;
     }
   }

   // If the file needs to be copied
   if (l_bCopyRequired == TRUE) {
     // Insert into map file list
     if (l_status == OK) {
       p_pList[l_iCountInserted].m_iIsNew = TRUE;
       p_pList[l_iCountInserted].m_iSize = l_iSize;
       *p_pTotalSize += l_iSize;
       strcpy (p_pList[l_iCountInserted].m_pFileName, l_pSearchResult);
       strcpy (p_pList[l_iCountInserted].m_pTargetPath, l_pTargetPath);
       strcpy (p_pList[l_iCountInserted].m_pVersion, l_pSourceVersion);
       l_iCountInserted++;
      }
   }
 }

	traceDebug(1,"PrepareCopyList: end", NULL, NULL, NULL, NULL);

 return (l_status) ;
}

//
// Copy the files processed by PrepareCopyList
//
STATUS copyFileList( t_FileData *p_pList,
                   unsigned long p_lTotalSize,
                   unsigned long *p_pCompletedSize,
                   char *label)
{
 STATUS l_status = OK;
 int l_i;
 unsigned long l_lCompletedSize = *p_pCompletedSize;
 unsigned long l_lPercentage = 0;
 unsigned int l_percentage = 0;
 char l_target_path[MAX_PATH_LENGTH];
 char l_actualCRC[MAX_PATH_LENGTH];
 char l_readCRC[MAX_PATH_LENGTH];
 int l_CopyIntegrity = ERROR;
 int l_retry = 0;

	traceDebug(1,"copyFileList: start", NULL, NULL, NULL, NULL);
 //Go through file list
 for (l_i=0; 0 != p_pList[l_i].m_iSize; l_i++)
 {
   //Try and retry to copy
   l_CopyIntegrity = ERROR;
   for (l_retry=0; (l_retry       //Construct the target path
     strcpy(l_target_path, p_pList[l_i].m_pTargetPath );

     //File copy
     if (UPGCopy(p_pList[l_i].m_pFileName, l_target_path, FALSE) == ERROR) {
				traceDebug(0,"Error copying ", (char*)p_pList[l_i].m_pFileName, NULL, NULL, NULL);
       l_status = ERROR;
       break;
     } else {
		 	traceDebug(1,(char*)p_pList[l_i].m_pFileName, " copied", NULL, NULL, NULL);
       //Check that source and target CRC matches
       if(CHECK_CRC) {
         //Compute target file CRC
         if (ComputeCRCFile(l_target_path,l_actualCRC) == ERROR) {
						traceDebug(0,"WARNING: Cannot compute CRC on file ", (char*)l_target_path, NULL, NULL, NULL);
           l_CopyIntegrity = OK;
         } else {
           //Compute source file CRC
           if (ComputeCRCFile(p_pList[l_i].m_pFileName,l_readCRC) == ERROR) {
						traceDebug(0,"WARNING: Cannot compute CRC of file ", (char*)p_pList[l_i].m_pFileName, NULL, NULL, NULL);
             l_CopyIntegrity = OK;
           } else {
             //Compare
             if (strcmp(l_readCRC, l_actualCRC)) {
								traceDebug(0,"ERROR: CRC of file ", (char*)l_target_path, " differs from ",(char*)p_pList[l_i].m_pFileName, NULL);
								traceDebug(0, (char*)l_readCRC, " instead of ", (char*)l_actualCRC, NULL, NULL);
             } else {
               //Copy succeded
								traceDebug(0,"CRC of file ", (char*)l_target_path, " , ",(char*)p_pList[l_i].m_pFileName, " OK");
               l_CopyIntegrity = OK;
             }
           }
         }
       }
       else
       {
         l_CopyIntegrity = OK;
       }
     }
     
		//Progress bargraph
		l_lCompletedSize += p_pList[l_i].m_iSize;
		l_percentage = (int) ( (l_lCompletedSize*100.0)/p_lTotalSize );
		StepBargraph(label, l_percentage);
		taskDelay(50);
			traceDebug(1, "Copy to USB OK : ", (char*)l_target_path, NULL, NULL, NULL);
   }

   if (l_CopyIntegrity == ERROR) {
			traceDebug(0, "FATAL COPY ERROR!!!", NULL, NULL, NULL, NULL);
     l_status = ERROR;
     break;
   }
 }

 if (l_status == OK) {
   *p_pCompletedSize = l_lCompletedSize;
 }

	traceDebug(1, "copyFileList : end", NULL, NULL, NULL, NULL);
 return ( l_status );
}


//
// Recursively copy a directory from sourceDrive, sourceDir to targetDrive, targetDir
//
STATUS copyOneDir(char *sourceDrive, char *sourceDir, char *targetDrive, char *targetDir, char *label)
{

 char* l_pSearchParams[2];
 char  l_pSearchParam1[MAX_PATH_LENGTH];
 char  l_pSearchParam2[MAX_PATH_LENGTH];

 unsigned long l_lTotalSize = 0;
 unsigned long l_lCompletedSize = 0;


 t_FileData l_pFileCopyList[MAX_APPLI_FILES];

	traceDebug(1, "copyOneDir from ", sourceDrive, ",", sourceDir, " to");
	traceDebug(1, targetDrive, ",", targetDir, NULL, NULL);

 // param�tres de recherche
 l_pSearchParams[0] = l_pSearchParam1;
 l_pSearchParams[1] = l_pSearchParam2;
 strcpy ( l_pSearchParams[0], "N3" );
 strcpy ( l_pSearchParams[1], "Normal" );

 // Calcul de la liste des fichiers � r�cup�rer (le contenu de DRIVE_NAV : /H/MAPPE/021)
	traceDebug(1, "ShowCDVerification", NULL, NULL, NULL, NULL);
 ShowCDVerification();
 taskDelay(250);
	traceDebug(1, "PrepareCopyList", NULL, NULL, NULL, NULL);
 if (PrepareCopyList(l_pFileCopyList,
 										sourceDrive,
   									sourceDir,
   									"*.*",
   									targetDrive,
   									targetDir,
   									l_pSearchParams,
   									2,
   									&l_lTotalSize) == ERROR) {
		traceDebug(0, "PrepareCopyList ERROR", NULL, NULL, NULL, NULL);
	ShowCDProblem();
 	taskDelay(1500);
	ClearScreen();
	return ERROR;
} else {
 	taskDelay(100);
	ShowBargraph();
		traceDebug(1, "ShowBargraph", NULL, NULL, NULL, NULL);
	if (copyFileList (l_pFileCopyList,
 										l_lTotalSize,
 										&l_lCompletedSize,
 										label) == ERROR) {
			traceDebug(0, "Install l_pFileCopyList errorO", NULL, NULL, NULL, NULL);
		ShowCDProblem();
 		taskDelay(1500);
		ClearScreen();
		return ERROR;
	}
 }
 ClearScreen();
	traceDebug(1, "copyOneDir : end", NULL, NULL, NULL, NULL);
 return OK;
}


// conditional debug traces to USB trace file
int traceDebug(int level, char * s1,char * s2, char * s3, char * s4, char * s5)
{
if ((level 		if (s1 != NULL) fputs(s1, trcFile);
	if (s2 != NULL) fputs(s2, trcFile);
	if (s3 != NULL) fputs(s3, trcFile);
	if (s4 != NULL) fputs(s4, trcFile);
	if (s5 != NULL) fputs(s5, trcFile);
	if (s1 != NULL) fputs("\n", trcFile);
} 
return 0;
}

//
// Copy a file fileName from sourceDir to targetDir
//
STATUS  copyOneFile(char* sourceDir, char* targetDir, char* fileName) {

char  l_pTargetFile[MAX_PATH_LENGTH];
char  l_pSourceFile[MAX_PATH_LENGTH];

strcpy(l_pSourceFile, sourceDir);
strcat(l_pSourceFile, "/");
strcat(l_pSourceFile, fileName);

strcpy(l_pTargetFile, targetDir);
strcat(l_pTargetFile, "/");
strcat(l_pTargetFile, fileName);

	traceDebug(1, "copyOneFile : ", l_pSourceFile, " -> ", l_pTargetFile, NULL);

return UPGCopy (l_pSourceFile,l_pTargetFile,FALSE);
}

//
// Copy one or several maps from DRIVE_NAV to DRIVE_USB
//
STATUS copyMaps(void)
{

char  l_pTargetDir[MAX_PATH_LENGTH];
STATUS res = OK;

	traceDebug(1, "copyMaps : start", NULL, NULL, NULL, NULL);

 // target directory creation /bd0/H
 strcpy(l_pTargetDir, DRIVE_USB );
 
 // Copy needed root files
 if (res == OK) res = copyOneFile(DRIVE_NAV, l_pTargetDir, "db_dwnl_ppc.out");
 if (res == OK) res = copyOneFile(DRIVE_NAV, l_pTargetDir, "db_dwnl_ppc.out.inf");
 if (res == OK) res = copyOneFile(DRIVE_NAV, l_pTargetDir, "GRUPPO_4_ROOT.DAT");
 if (res == OK) res = copyOneFile(DRIVE_NAV, l_pTargetDir, "GRUPPO_4_ROOT.DAT.INF");
 if (res == OK) res = copyOneFile(DRIVE_NAV, l_pTargetDir, "CURR_VERS_NAVI.dat");
 
 // Copy map CID directory
 if (res == OK) res = copyOneDir(DRIVE_NAV, "/MAPPE/021", DRIVE_USB, "", "1/1 :");
 
 traceDebug(1, "copyMaps : end", NULL, NULL, NULL, NULL);
 return res;
}

Lien vers le commentaire
Partager sur d’autres sites

Invité pippo_c4ita

thanks, i hope in you....take all the time you need.... i will try everything !!

but, maybe, the problem is cd.inf on usb pen (it is 1556, my system is 1558), so it can't upgrade, is old!

big snowday to you... make a frostyman also for me!!!

:xan11::xan11::xan11:

Lien vers le commentaire
Partager sur d’autres sites

Invité pippo_c4ita

all done...it'all ok.... realy the problem seems to be cd.inf. I used 9999 version, and upgrade_system.cmd start! your script have copied map 021 on usb...

Thank's for help, :buzz::buzz::buzz:

now more and more great things!!!!:D:d:d

Lien vers le commentaire
Partager sur d’autres sites

Invité christlep

Salut

 

 

Eeeuuuuhhh .... vous parlez du rt3 ou rt4 ???? Car je crois comprendre une histoire de clef usb, de rtxmapeditor, et de rt4, alors qu'on est sur un post pour rt3 :( vous nous donnez de fausses joies là ;)

 

 

Dommage, je passerai bien du rt3 au rt4 moi :buzz:

 

A+

 

chris

Lien vers le commentaire
Partager sur d’autres sites

Bonjour à tous.

 

Pour mon RT3, Après installation de RTxmapeditor, lors de la copie du CD 2007/2008 j'ai ce message " Une erreur s'est produite durant la copie de D:/TD3003400 vers C:/rt3map/dest. Détruisez le répertoire et recommencez".

J'ai installé RTxmapeditor sur 2 PC différents et j'ai à chaque fois ce message d'erreur. Pouvez vous m'indiquer quoi faire ?

Lien vers le commentaire
Partager sur d’autres sites

Si ta carte a comme nom de volume TD3003400, c'est une carte 2006/2007, pas une 2007/2008. Les cartes 2007/2008 on des nom du genre TD41xxyyy avec xx=02 pour la France.

 

Es-tu sur d'avoir une carte complète ?

 

Bonjour à tous.

 

Pour mon RT3, Après installation de RTxmapeditor, lors de la copie du CD 2007/2008 j'ai ce message " Une erreur s'est produite durant la copie de D:/TD3003400 vers C:/rt3map/dest. Détruisez le répertoire et recommencez".

J'ai installé RTxmapeditor sur 2 PC différents et j'ai à chaque fois ce message d'erreur. Pouvez vous m'indiquer quoi faire ?

Lien vers le commentaire
Partager sur d’autres sites

Bonjour,

J'utilise depuis bientôt un an Map éditor 3.0.5 puis 4.0 merci Janfi ;-) et tous ceux qui ont participé à ce travail de longue haleine.

Problème de stabilité +++. J'importe les radars gps standards (en zip ou asc) et je tente de patcher la carte et le logiciel s'arrête au 3/4 du travail et ne "répond plus" (dixit windows). Désinstallation réinstallation, idem pour frameworks 2.0.

Pc windows XP pack 2. Panne irrégulière car de temps en temps je réussis à passer le cap du patch jusqu'à la gravure (néro). Mais c'est toujours la loterie, et quelquefois des essais sur plusieurs jours.... oui je suis têtu. :tourne: Mais peut-être y-a-t-il une raison simple que je ne connais pas???

Demain j'essaie l'installation sur un autre PC.

Merci de vos réponses

Lien vers le commentaire
Partager sur d’autres sites

Rejoindre la conversation

Vous pouvez publier maintenant et vous inscrire plus tard. Si vous avez un compte, connectez-vous maintenant pour publier avec votre compte.

Invité
Malheureusement, votre contenu contient des termes que nous n'autorisons pas. Veuillez modifier votre contenu pour supprimer les mots en surbrillance ci-dessous.
Répondre à ce sujet…

×   Collé en tant que texte enrichi.   Coller en tant que texte brut à la place

  Seulement 75 émoticônes maximum sont autorisées.

×   Votre lien a été automatiquement intégré.   Afficher plutôt comme un lien

×   Votre contenu précédent a été rétabli.   Vider l’éditeur

×   Vous ne pouvez pas directement coller des images. Envoyez-les depuis votre ordinateur ou insérez-les depuis une URL.

×
×
  • Créer...

Information importante

Nous avons placé des cookies sur votre appareil pour aider à améliorer ce site. Vous pouvez choisir d’ajuster vos paramètres de cookie, sinon nous supposerons que vous êtes d’accord pour continuer.