This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

C64x: Creating Correct Boot Copy Tables and Flash Burn Files

Hello,

I have a quick question. I am wondering if there is a quick way to get the hex converter utility (hex6x) to create the correct boot copy tables and flash burn files when I have two FLASH ROMs that are at discontinuous addresses. I have two 1 MByte FLASH ROMS at address 0xB0000000 and 0xC0000000. Unfortunately, my current image is approximately 1.5 Mbytes and will not fit into one FLASH ROM. I have tried, unsuccessfully, to simply add an additional ROM section to the .cmd file for the hex6x utility. My file looks like the following:

bin\sttw.out

-a

-memwidth  8

-map bin\sttw_hex.map

-boot

-bootorg 0xB0000400

-bootsection .boot_load 0xB0000000

 ROMS

{

    FLASH1:  org = 0xB0000000, len = 0x100000, romwidth = 8, files = {bin\sttw.hex}

    FLASH2:  org = 0xC0000000, len = 0x100000, romwidth = 8, files = {bin\sttw2.hex}

}

 Instead of using the second ROM segment, I get an “uncofingured memory at 0b0100000h” error, instead. According to the instructions for the utility, it would seem that the utility should automatically fill each ROM and proceed to the next ROM when the first is full. I wonder if there is a limitation when using the utility to create the COPY TABLE for the secondary bootloader. Is there a way to correct this, or I am forced to manually fill-in the COPY TABLE based upon information generated by the linker in the .map file?

Thanks for the help!