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.

Using HUA to load an image into NOR flash

Hello all,

Can I use the HUA application of the C6678 EVM to load an application image to the NOR Flash. the HUA has a tap called "Flash" and an option to write a file to the flash. if yes, can you direct me to an example demo.

 

 

Regards,

 

Murad

  • It actually worked! :-)

    Note: the block number the tool expects is in hex (was confusing)

    BUT, when I used the tool to read block number 160 (A0), it showed the info including "ELF" header which is similar to the block I read at block 0, so I used the tool to write my application i2cnorboot_evm6678l.out at block A0. when I changed the switches to boot from IBL NOR boot on image 1, I saw the correct message on the hyper terminal (Great!), the problem is that when I change the switches to IBL NOR boot on image 0, I still run the same application I just downloaded at block A0?...so now my NOR doesn't have the HUA application I used to program the NOR!

    Any idea why this happened?

     

    Regards,

     

    Murad

  • I used the NOR writer utility and downloaded the image from CCS. Whenever I download an image to the NOR, the 2 switches settings still run the last image I downloaded?

     

    Any idea how to load 2 different images to NOR?

     

    Regards,

     

    Murad

  • well,

    I am not sure why this case didn't get anyone's attention, but this is how it got solved (still don't know why?!)

    Since the Timer was the cause (not sure why and how it affects the SPI), I stopped the timer once we enter the

    serveFlashWritePage() routine and everything works fine!