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.
Thanks, Ronan. In addition...
Our distributors:
https://www.arm.com/products/development-tools/distributors
Arm Compiler for Embedded FuSa
https://developer.arm.com/Tools%20and%20Software/Arm%20Compiler%20for%20Embedded%20FuSa
Support case:
https://www.arm.com/support/contact-support
Please note i want a free edition of compiler probably the armclang compiler to test the builds. Please suggest how to get one single license.
See the below.
https://www.keil.arm.com/mdk-community/
This is or non-commercial use only, and does not enable the FuSa compiler. It does however contain the standard Arm Compiler for Embedded.
Thanks, with this compiler i'm able to compile. However, i got an error while building simple HelloWorld C program.
.\firstproject.sct(7): error: L6236E: No section matches selector - no section to be FIRST/LAST.
Scatter file generated by uVision is as below,
; *************************************************************; *** Scatter-Loading Description File generated by uVision ***; *************************************************************
LR_IROM1 0x00400000 0x00200000 { ; load region size_region ER_IROM1 0x00400000 0x00200000 { ; load address = execution address *.o (RESET, +First) *(InRoot$$Sections) .ANY (+RO) .ANY (+XO) } RW_IRAM1 0x20400000 0x00018000 { ; RW data .ANY (+RW +ZI) }}
The error is induced by this line in the scatter file:
*.o (RESET, +First)
Have you included the Device startup code from the CMSIS Pack? This should set the Vector table at this location.
Alternatively, simply comment this line out (place semi-colon ";" at start of line).
No, i havn't included CMSIS pack, which i don't want to.
Yes, i commented the line but since its auto generated every time it creates new and not taking the modified one.
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