PSoC 3/5 Hardware Programming from Bootloader

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable
        When using a bootloader to update main program from .hex file generated for psoc creator, how is the hardware(UDB) reprogrammed in PSoC 3/5? Sorry if this is a stupid question but where is the information on TRM about hardware programming for Universal Digital Blocks?   
   
Thanks   
0 Likes
2 Replies
markgsaunders
Employee
Employee
50 sign-ins 10 solutions authored 5 solutions authored
        When you make designs in PSoC Creator the configuration is really just data that gets linked into the final downloaded image in flash. When the device boots that data gets copied (usually by DMA) into the digital blocks and routing. In a bootloader situation the same is true - twice. You have a "bootloader" design that is programmed into the device normally (i.e. via MiniProg3) and, when it powers up, it initializes the UDBs. If a bootload is required then the host will send a "bootloadable" design, via I2C, which replaces the original and then resets, which boots up and configures the UDBs just as before.   
   
-- mgs   
0 Likes
Anonymous
Not applicable
        Thanks that exactly i was needing to know.   
0 Likes