I used Dave 2.0 and UV2 to create my project. I am interfacing to an LCD display. I can run in Monitor mode with no problem. But, when I Flash it, I do not get anything legible on the LCD display when I run it. I can Flash the small example programs and run fine. I am not sure what the problem is but did notice that my .H86 file is 139KB and that is quite a bit larger than those example programs. I am using the PHytec Mini-module and the C167CR-LM chip. Also, I am using a full-up software version from Keil I have used the following settings in Target Options RX Tiny operating system Small memory mode 16kb RAM 16kb ROM ROM #1 start 0x00 size 0xE000 RAM #2 start 10000 size 0x8000 In the Start167.a66 file I have also enabled the chip select 1 set address to 10000 and Range 32K The flash chip is F29010 Thanks for any help, Vida
The size of the .H86 file should not be a problem as long as the linker is happy (it will warn you if it fails to find enough memory for the program). The problem could be anywhere. For example, imagine that your program does not disable the watchdog timer at startup and does not execute SRVWDT instruction along the way. It will run perfectly well in monitor mode because the monitor is most probably configured to disable the watchdog timer at startup. There can be other subtle differences like that one. I suggest that you compare StartUp.a66 files of your program in Flash and Monitor configurations (and StartUp.a66 of the monitor itself). Focus on the differences in configuration. Good luck! Mike