Hello,
I am using the following ARM compiler on LPC2378:
Product: MDK-ARM Standard 5.10Component: ARM Compiler 5.04 update 1 (build 49)Tool: armcc [5040049]
And the Keil IDE, uVision V5.25.3.0, 2018 ARM Ltd and ARM
The emulator is Keil Ulink2.
I don't know it is because of the IDE or the processor capabilities, but the system is not stable and loses communication with the processor or crashes and task dies (Windows 11).
The debugging capabilities are limited too, maximum two breakpoints, every time there is code change it programs the whole flash etc..
Would it help if I upgraded the compiler or IDE to a newer version?
Thanks
Hello, you are using a very old version of the tools. The latest version is 5.40.
There are device limitations on how many breakpoints can be set on code in Flash. Typically code is placed in RAM during development.
Unfortunately there is no RAM outside of LPC2378.
I upgraded the MDK version to 5.41, and it forced me to upgrade the firmware in Ulink2 pod.
I am still using the old compiler V5.04.
1) How can I get the present firmware version number in Ulink2?
2) Would upgrading the compiler version to a newer one help anything? What is the latest compiler version that supports LPC2378?
I have upgraded to 5.41 (from 5.06) using the evaluation license, but it is expiring at the end of this month.
Where can I purchase the actual license? Is there a link to buy online? I tried to connect arrow but no response so far :-(
Zelbi said:1) How can I get the present firmware version number in Ulink2?
You need to open the µVision dialog 'Options for Target' - tab 'Debug' - 'ULINK2/ME ARM Debugger' Button 'Settings'. Then you see the 'ARM Target Driver Setup' dialog which tells you the ULINK2 firmware version:
Zelbi said:2) Would upgrading the compiler version to a newer one help anything? What is the latest compiler version that supports LPC2378?
Yes and no. The LPC2xxx has an ARM7 core. This old core is only supported by the Arm compiler version 5, NOT with Arm compiler version 6. The Arm compiler version 5 is not maintained anymore for a few years. However, you're not using the latest version of it. The latest one is 5.06 update 7. I can't judge if this would help you in any way.
Zelbi said:I have upgraded to 5.41 (from 5.06) using the evaluation license, but it is expiring at the end of this month.
Yes, because you used a 30 day evaluation license. In order to use an Arm compiler 5, you need to purchase an MDK Professional, because only this edition gives you access to this old compiler. See:
https://www.keil.arm.com/keil-mdk/#mdk-v6-editions (See Arm compiler 5)
Zelbi said:Where can I purchase the actual license? Is there a link to buy online? I tried to connect arrow but no response so far :-(
At one of our distributors. See: https://www.arm.com/products/development-tools/distributors
Or in our e-Store: https://store.arm.com/mdk-6/
Thank you. I downloaded 5.06 update 7, but it doesn't compile because it asks for a license. In order to get the license I need to enter the PSN number. When I downloaded it didn't specify a PSN number. What do I do?