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.
Hello all, I'm debugging my C515C board using MON51 of Keil professional kit. There is no other RAM chip on the board except the on-chip 2K RAM of C515C. Can someone tell me if I can set up that 2K on-chip XRAM to cheat the Keil compiler and to debug my code using MON51? I probably set up my memory mapping like below. MON51 code: start from 0000h code memory: start from 8000h to BFFFh XRAM (on-chip): start from F800h to FEFFh MON51 RAM: start from FF00h to FFFFh
Hi frank, i guess you should check if this XRAM memory in the C515 chip can be used as a von Newmann wired memory, i.e the Mon51 kernel can write the user program code to it and then the chip is able to run the program from that XRAM, in any case your program then should be short enough < 2kb. Most 8051 chips doesnt allow running code from internal RAM, but there are some which does, for example EZUSB family from Cypress. Check if it is possible for the C515. To change the XRAM page where mon51 stores its information you may use the xdatastart parameter when compiling your mon51 kernel but this may not solve your problem as I told before. Check the Mon51.pdf documentation in the Mon51 directory.
actually I use a EPROM simulator FlexROM III to load MON51.HEX. I only use the 2k internal RAM for needs of my code and 256 bytes of MON51. Do you think it will work?
My guess is it will not work. Mon51 needs Read/Write access to your program code area it can only be done if it is on XRAM memory. :(
Thanks for your info.
Maybe you should try ISD51, the new debugger in uVision2.