Hi,
I have downloaded MDK539.EXE and installed, and tried to get the license from License management option of Keil ide menu.
MDK539.EXE (935,160K)Saturday, December 2, 2023
While trying to complete the license activation from https://www.keil.com/license/install.htm
, i get this below error
The Product Serial # (PSN) may not be blank.
I have not received the PSN through email. I want to use Arm Compiler for Embedded FuSa 6.16.2
Please send the details on how to get the license and use the compiler in Keil uvision5 IDE.
In Target Options > Linker, deselect "Use Memory Layout from Target Dialog", and then specify your own scatter file.
Hi Ronan,
I created a new uvision project and included CMSIS, core and startup file, and also selected IO for stdio.h to ITM.
Added a simple Helloworld print c file. While compiling it throws this error,
Build started: Project: Hello*** Using Compiler 'V6.21', folder: 'C:\Keil_v5\ARM\ARMCLANG\Bin'Build target 'Target 1'main.c(3): warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3 | int main() | ^ | voidmain.c(7): warning: no newline at end of file [-Wnewline-eof] 7 | } | ^2 warnings generated.compiling main.c...C:/Users/xyz/AppData/Local/arm/packs/Keil/ARM_Compiler/1.7.2/Source/retarget_io.c(409): warning: invalid UTF-8 in comment [-Winvalid-utf8] 409 | \return The return value is <96>1 if an error occurs. | ^C:/Users/xyz/AppData/Local/arm/packs/Keil/ARM_Compiler/1.7.2/Source/retarget_io.c(516): warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] 516 | ch = *buf++; | ^~~2 warnings generated.compiling retarget_io.c...compiling system_ARMCM7.c...compiling startup_ARMCM7.c...linking....\Objects\Hello.axf: Error: L6915E: Library reports error: The semihosting __user_initial_stackheap cannot reliably set up a usable heap region if scatter loading is in useNot enough information to list load addresses in the image map.Finished: 1 information, 0 warning and 1 error messages.".\Objects\Hello.axf" - 1 Error(s), 4 Warning(s).Target not created.Build Time Elapsed: 00:00:01
Please help in resolving above issue.
You should define a region ARMLIB_STACKHEAP in your scatter file:
https://developer.arm.com/documentation/100748/0622/Embedded-Software-Development/Placing-the-stack-and-heap