Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 230897

Forum Post: RE: C2000-GANG: Storing Serial Numbers

$
0
0
Dave, The method I can think of is to pass an equivalent hex or txt file that matches the format you are using to pass in the main application to the C2000-GANG. For example, let's say you are generating a .hex output for your main application; I would open that file up to see the format and then encode your data in the same way to a new file. I would suggest looking at the .map file from your main application to determine the appropriate flash location to store this information. Option1: Pass this file on its own into the GANG, if this option is used you also need to make sure that the GANG is set to "program" only; as you don't want to erase the entire sector assuming you have already programmed code in the same sector(I'm also assuming any unused flash is already erased) Option2: Add this to the end of your existing .hex file along with your main application, for this one you can erase/program as normal since you are giving the whole image at once. Outside of this I don't know a different way to give some type of raw file with just ASCII and a start address, it will need to match the native formats that our tools create the output as I mentioned above. Best, Matthew

Viewing all articles
Browse latest Browse all 230897

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>