I can't upload my software in bootstrap mode. It seems to be the Keil compiler doesn't recognise the controller. I think there's something wrong with the monitor...
Hi Robert, I checked again the µVision and the monitor there is provided is for the old C166 family, so it may be the XC166 family (specially the ID bytes are not recognized ) the 55h ID Byte is from th 80C166 based devices, the newer one uses A5h and all with ID register use D5h + ID Regs. So use Minimon or OCDS instead is highly recommended! Stefan
Hi Stefan, OCDS is not implemented on my PCB. The bootstrap loader is working !!! there was a problem with the max232. Right now he is uploading 2% before connection with target system is lossed.. I think the monitor isn't correct.
Which Monitorversion you have selected ? I will try out a test. Did you reserve monitor ressources under linker/locator - misc ? Stefan
Hi Stefan, I did some other work last days but today the board is working. In hardware there was one problem with the MAX232. Right now the board is working fine. Unfortunately debugging with Keil isn't possible. I use Minimon_XC16x (http://www.infineon.com) for downloading software into flash mem. Thnx for your help.. Greetz Robert
Hi Robert, was on vacation (so sorry for delay). Thanks for this feedback. But no reason to be worry about this. Minimon is the ultimate tool and is used from the Infineon people internal as the one and only. KEIL monitor I was not able to use with AA-steps (XC161 and XC164) there were a problem with build-in bootstraploader, which receives only 28 byte instead 32.But should be solved at later steps and with XC167. For programming without monitor you should use MEMTOOL3.2.6a or later. (You will find this at Infineon's WEB page under 16-bit micro --> appnotes. Stefan
Do you think it's possible to program flash mem in XC167 with Keil ? there are so many options and parameters to set..
Hi Robert, no, unfortunately this is not possible in your case, since the flash driver is based on the OCDS interface. ( You have mentioned your PCB does not support OCDS ). OCDS I have tested and it works for me since V4.27. In your case I would kindly ask you to use MEMTOOL,this works with all steps and all XC16x-types. ( Provides sectorbased erasing, flashing and verifying ) I send you a short description with screenshots to your e-mail account. It is to use. Stefan