We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I want to run the C166 monitor in bootstrap mode but have problems to get it running. Since the memory map is quite exotic, finding proper monitor configuration might produce some headache. But i do not think this is the problem, because the download even seems not to start. How can i see if the bootloader itself was loaded? Thank you.
I don't know what instructions are necessary to address the FLASH or the RAM at the same address space. Any instruction can be inserted into the boostrap code. Usually different CS (chip select) signals are used for these different devices. Usually the monitor reports error messages when the monitor cannot be donwloaded. When I know the reason, I can fix it in the next version. Maybe it helps you to know how the monitor works: - uVision sends a 0 byte and waits for the bootstrap acknowledge byte from the microcontroller. After a timeout, a error messagebox pops up. - The first 32 bytes and then about 300 bytes are downloaded. The microcontroller acknowledges it with 0xAA - PC sends a command to calculate a checksum in the monitor area. The microcontroller sends it. - When the monitor was not loaded into memory before, the checksum will not match and the PC starts to download the complete monitor. During this time you see a progress bar running from 0 to 100% in the lower left corner. - PC sends a command to calculate the checksum in the monitor area again. If the checksum does not match, a error messagebox will pop up. If it matches, the montitor is started. - After a monitor start acknowledge, the application is downloaded. The progress bar is displayed again.