Sep 24, 2018
01:08 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 24, 2018
01:08 AM
Hi everyone,
we are exploring the posibility to use one bootloader for all 1MB, 1.5MB and 2MB versions of the XMC4800. For that we need to know in the program how big the flash memory is.
I figured there would be a register that could tell me which version of the chip I'm working on, for instance XMC4800-F100x1024, but I haven't been able to find that in the Reference Manual.
Any kind of help would be much appreciated.
Kind regards
Al
we are exploring the posibility to use one bootloader for all 1MB, 1.5MB and 2MB versions of the XMC4800. For that we need to know in the program how big the flash memory is.
I figured there would be a register that could tell me which version of the chip I'm working on, for instance XMC4800-F100x1024, but I haven't been able to find that in the Reference Manual.
Any kind of help would be much appreciated.
Kind regards
Al
1 Reply
Sep 30, 2018
11:23 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 30, 2018
11:23 PM
I havent found such a register.
You could try to write to a flash memory location which does not exist for the 1 and 1.5 MB version and check the result. If it works without an error, it's the 2 MB chip. Otherwise start the next test to differentiate between 1 and 1.5 MB versions.
You could try to write to a flash memory location which does not exist for the 1 and 1.5 MB version and check the result. If it works without an error, it's the 2 MB chip. Otherwise start the next test to differentiate between 1 and 1.5 MB versions.