- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello ALL
I started reading app note on Bootloaders. While bootloading the host requests for silicon id and revision matches.
So, where exactly is it present in the memory ....
- Labels:
-
PSoC 5LP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
microHari,
When a Bootloadable project is built, *.CYACD file(a variant of hex file) is generated. The header of this file contains the silicon id and revision. This is checked before bootloading.
The header record format:
[4-byte SiliconID][1-byte SiliconRev][1-byte Checksum Type]
Regards,
srim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Just a minute......
Actually host (which has bootloadable project) requests for Silicon id and silicon revision ....... am i right....
and the bootloader present in the say PSoC3/5 (host is comp) sends the Silicon id and revision to host.
So on the match of these the bootloadable project will be given to PSoC3/5... am i right....
So, what i want is from where does the bootloader fetch the silicon id and revision from.... flash or rom...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
and .cyacd file is present in the bootloadable file which has silicon id and revision... and host gives this file....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes. The silicon ID and Rev are stored in registers( flash area of Bootloader in PSoC3/5) and these are compared against that in cyacd file. The bootloadable project stores these values while building. The comaparision looks like this:
if((CYDEV_CHIP_JTAG_ID)==siliconID && CYDEV_CHIP_REV_EXPECT==siliconRev)
{
//Bootload
}
else{
//Report silicon id/rev mismatch error
}
Hope this is clear to you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yup,,,
i found some info in device programming specification.......
There is some thing called meta data area in flash where all the info like id, revision are stored....
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yep, on page 52 of the document Dana linked to. Hey Cypress, we need a way to rank and categorize some of these forum posts because I can easily see this one being useful to a lot of people. Or, would it be possible for us to create our own list of favorites or some kind of personal archive through our accounts?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Its odd that this info is not in the TRM.......
Regards, Dana.