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.
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...
and .cyacd file is present in the bootloadable file which has silicon id and revision... and host gives this file....
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)
//Report silicon id/rev mismatch error
Hope this is clear to you.
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....
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?
Its odd that this info is not in the TRM.......