Hi I'm trying to see if I can build a boot-table using hex500. One problem seems to be that the command-line options for version 3.70 are not quite the same as those shown in SPRU280d. Does anyone know the magic for specifying a 16 bit parallel boot table ? -bootorg parallel generates a hex file which (i think) has the wrong data in the first record - rather than getting the expected 10AAh I see AAFFh -parallel16 as documented gives an 'illegal option' warning. TIA Jerry. |
|
5402 hex500 utility
Started by ●August 10, 2002
Reply by ●August 12, 20022002-08-12
Hi Jerry, I use a command line file for generating the boot table using V3.70, and all works fine. Those are my settings: /* Hex-Conversion Command file for creating the motorala hex file */ CK2_BIOS.out -m1 -boot /* create a boot table */ -map CK2_Boot.map -o CK2_BIOS.hex -memwidth 16 /* Set EEPROM system memory width */ -romwidth 16 /* Set physical ROM width */ /* specify the source of the boot loader table as the parallel port */ -bootorg PARALLEL -bootorg 0x8000 -e 0x5089 /* entry point for the boot table */ -swwsr 0x7fff /* Software wait state register for warm boot */ -bscr 0x8806 /* Bank switching control register value for parallel warm boot */ ROMS { PAGE 0: FLASH: origin = 0x8000, len = 0x8000 } /* End of File */ Regards Christian -----Ursprungliche Nachricht----- Von: Jerry Evans [mailto:] Gesendet: Samstag, 10. August 2002 17:30 An: Betreff: [c54x] 5402 hex500 utility Hi I'm trying to see if I can build a boot-table using hex500. One problem seems to be that the command-line options for version 3.70 are not quite the same as those shown in SPRU280d. Does anyone know the magic for specifying a 16 bit parallel boot table ? -bootorg parallel generates a hex file which (i think) has the wrong data in the first record - rather than getting the expected 10AAh I see AAFFh -parallel16 as documented gives an 'illegal option' warning. TIA Jerry. _____________________________________ Note: If you do a simple "reply" with your email client, only the author of this message will receive your answer. You need to do a "reply all" if you want your answer to be distributed to the entire group. _____________________________________ About this discussion group: To Join: Send an email to To Post: Send an email to To Leave: Send an email to Archives: http://www.yahoogroups.com/group/c54x Other Groups: http://www.dsprelated.com ">http://docs.yahoo.com/info/terms/ |
Reply by ●August 12, 20022002-08-12
Many thanks Christian. That looks to be most useful. Might I ask where you got the documentation ? Spru102 only seems to cover some of the directives you use. ATB Jerry ----- Original Message ----- From: "Christian Dolzer" <> To: "'Jerry Evans'" <>; <> Sent: Monday, August 12, 2002 7:22 AM Subject: AW: [c54x] 5402 hex500 utility > Hi Jerry, > > I use a command line file for generating the boot table using V3.70, and all > works fine. > > Those are my settings: > /* Hex-Conversion Command file for creating the motorala hex file */ > CK2_BIOS.out > -m1 > -boot /* create a boot table */ > -map CK2_Boot.map > -o CK2_BIOS.hex > -memwidth 16 /* Set EEPROM system memory width */ > -romwidth 16 /* Set physical ROM width */ > /* specify the source of the boot loader table as the parallel port */ > -bootorg PARALLEL > -bootorg 0x8000 > -e 0x5089 /* entry point for the boot table */ > -swwsr 0x7fff /* Software wait state register for warm boot */ > -bscr 0x8806 /* Bank switching control register value for parallel warm > boot */ > > ROMS > { > PAGE 0: FLASH: origin = 0x8000, len = 0x8000 > } > /* End of File */ > > Regards Christian > > -----Ursprungliche Nachricht----- > Von: Jerry Evans [mailto:] > Gesendet: Samstag, 10. August 2002 17:30 > An: > Betreff: [c54x] 5402 hex500 utility > Hi > > I'm trying to see if I can build a boot-table using hex500. One problem > seems to be that the command-line options for version 3.70 are not quite the > same as those shown in SPRU280d. Does anyone know the magic for specifying a > 16 bit parallel boot table ? > > -bootorg parallel generates a hex file which (i think) has the wrong data in > the first record - rather than getting the expected 10AAh I see AAFFh > > -parallel16 as documented gives an 'illegal option' warning. > > TIA > > Jerry. > _____________________________________ > Note: If you do a simple "reply" with your email client, only the author of > this message will receive your answer. You need to do a "reply all" if you > want your answer to be distributed to the entire group. > > _____________________________________ > About this discussion group: > > To Join: Send an email to > > To Post: Send an email to > > To Leave: Send an email to > > Archives: http://www.yahoogroups.com/group/c54x > > Other Groups: http://www.dsprelated.com > ">http://docs.yahoo.com/info/terms/ > > |
|
Reply by ●August 12, 20022002-08-12
Hi Jerry, take a look into the application report SPRA773 chapter 5 "Build a Small FLASH ROM Application". There is example hex command file where I got the info from. Regards Christian -----Ursprgliche Nachricht----- Von: Jerry Evans [mailto:] Gesendet: Montag, 12. August 2002 13:46 An: ; Betreff: Re: [c54x] 5402 hex500 utility Many thanks Christian. That looks to be most useful. Might I ask where you got the documentation ? Spru102 only seems to cover some of the directives you use. ATB Jerry ----- Original Message ----- From: "Christian Dolzer" <> To: "'Jerry Evans'" <>; <> Sent: Monday, August 12, 2002 7:22 AM Subject: AW: [c54x] 5402 hex500 utility > Hi Jerry, > > I use a command line file for generating the boot table using V3.70, and all > works fine. > > Those are my settings: > /* Hex-Conversion Command file for creating the motorala hex file */ > CK2_BIOS.out > -m1 > -boot /* create a boot table */ > -map CK2_Boot.map > -o CK2_BIOS.hex > -memwidth 16 /* Set EEPROM system memory width */ > -romwidth 16 /* Set physical ROM width */ > /* specify the source of the boot loader table as the parallel port */ > -bootorg PARALLEL > -bootorg 0x8000 > -e 0x5089 /* entry point for the boot table */ > -swwsr 0x7fff /* Software wait state register for warm boot */ > -bscr 0x8806 /* Bank switching control register value for parallel warm > boot */ > > ROMS > { > PAGE 0: FLASH: origin = 0x8000, len = 0x8000 > } > /* End of File */ > > Regards Christian > > -----Ursprungliche Nachricht----- > Von: Jerry Evans [mailto:] > Gesendet: Samstag, 10. August 2002 17:30 > An: > Betreff: [c54x] 5402 hex500 utility > Hi > > I'm trying to see if I can build a boot-table using hex500. One problem > seems to be that the command-line options for version 3.70 are not quite the > same as those shown in SPRU280d. Does anyone know the magic for specifying a > 16 bit parallel boot table ? > > -bootorg parallel generates a hex file which (i think) has the wrong data in > the first record - rather than getting the expected 10AAh I see AAFFh > > -parallel16 as documented gives an 'illegal option' warning. > > TIA > > Jerry. > _____________________________________ > Note: If you do a simple "reply" with your email client, only the author of > this message will receive your answer. You need to do a "reply all" if you > want your answer to be distributed to the entire group. > > _____________________________________ > About this discussion group: > > To Join: Send an email to > > To Post: Send an email to > > To Leave: Send an email to > > Archives: http://www.yahoogroups.com/group/c54x > > Other Groups: http://www.dsprelated.com > ">http://docs.yahoo.com/info/terms/ > > |