Does anyone know if it is necessary to make monitor start code to 0x0 with micro vision 2? For my part, if start code is different, even if it is free ram, monitor download abort after a while without any error message. Thanks
No. It is not necessary to make the monitor start at 0. There are 2 parts to the Keil monitor: boot and monitor. The on-chip boot loader loads the Keil boot (which is another boot loader) at a specific address. Then, boot, loads and runs the monitor. The progress bar that shows the download % complete, includes the boot, the monitor, and the user program. If your monitor aborts in the middle of the download, what is probably happening is that the user program overwrites the monitor or the monitor is not correctly configured for the hardware. Most C16x problems come from improperly configured startup code. So, check this carefully. Jon
For those who encountered the same problem, you must know that keil inc sent me another version of L166 which now is ok for using the monitor at a different address then 0x00. Thanks for your answer.
I have exactly the same problem with following versions IDE-Version: µVision2 V2.30 Copyright (c) Keil Elektronik GmbH / Keil Software, Inc. 1995 - 2002 Tool Version Numbers: Toolchain Path: C:\Keil\C166\BIN\ EC++ Compiler: EC166.exe V1.00 Beta 0 C Compiler: C166.exe V4.22 Assembler: A166.exe V4.22 Linker/Locator: L166.exe V4.24 Librarian: LIB166.exe V4.23 Hex Converter: OH166.exe V4.6 Simulation DLL: S166.DLL V2.30 Dialog DLL: D167.DLL V2.24 Could you pls tell the working version. Thank you.
Change your linker and it will be probably ok. For my part, I use V4.25.0.1 and it's right.
message above is mistakenly sent