Hi,
I have a SAMA5D27-SOM1-EK1 development board that I have to start using. I downloaded and installed the latest version of "ARM Development Studio" and activated a 30-day demo license. In these 30 days I would like to start working with this development board and then the SAMA5D27 processor to then build my ownprototype and then buy the software if everything works properly.I state that I am a beginner with this software and its philosophy.I should use on this development board : - Bare Metal - FreeRTOS - Ethernet with "lwip" - USB Host with pendrive support for reading files (FAT32) - SPI master - Leds I am currently experiencing problems in choosing some packages:ARM.FreeRTOS::RTOS.Config.FreeRTOS - Additional software components requiredARM::CMSIS.RTOS.FreeRTOS - Additional software components requiredKeil.MDK-Pro::USB.Host - Additional software components requiredHow to add these packages that don't seem to exist in the main repository ?Thanks very much.
Hi again debugasmI'm really rorry that the "[SAMA5D2] Blinky_RTX5_AC6" example also fails to build. Again, I can reproduce this and am checking with our Development Team on a workaround. I am pleased to hear you now have the CMSIS-RTOS2 FreeRTOS Blinky CA9 AC6 (Fixed Virtual Platform)" example built. Have you tried running it on the Cortex-A9 model, using the supplied "Blinky_CA9_AC6.launch" debug launcher?To see the threads in the OS Data view, ensure you enable FreeRTOS support in the OS Awareness tab, and compile with the following compiler flags: -DportREMOVE_STATIC_QUALIFIER -DINCLUDE_xTaskGetIdleTaskHandle -DconfigQUEUE_REGISTRY_SIZE=n (where n >= 1)You can then try porting this to your SAMA5D27 board (that has Cortex-A5 rather than Cortex-A9).
Stephen
Hi Stephen,
sorry I'm late but in Italy last Friday was a party "November 1st all the saints".
The Cortex-A9 virtual platform works perfectly as you indicated.
I hope I can do something before my evaluation license expires.I'm waiting for good news.
Thanks very much.
debugasm
Are there any news about it ?
Hi debugasmOur development team are working on fixes for the two failing examples.I can send you the necessary changes for the "[SAMA5D2] Blinky_RTX5_AC6" example already if you need them.However, the error messages you saw with your FreeRTOS project, e.g.:ARM.FreeRTOS::RTOS.Config.FreeRTOS - Additional software components requiredare because there is no FreeRTOS pack support available yet for Cortex-A5.FreeRTOS pack support is available out-of-the-box for Cortex-A9, but not yet for Cortex-A5 or -A7.Software for Cortex-A5 is similar to Cortex-A9 (some changes will be needed in the startup code), so you could try porting the working "CMSIS-RTOS2 FreeRTOS Blinky CA9 AC6 (Fixed Virtual Platform)" example to your SAMA5D27 board.Do you need to use FreeRTOS? As an alternative, the Keil RTX5 RTOS is fully supported in the Packs for A5/A7/A9.Hope this helps
Stephen Theobald said:Our development team are working on fixes for the two failing examples.I can send you the necessary changes for the "[SAMA5D2] Blinky_RTX5_AC6" example already if you need them.
Perfect is a great thing, if you can send it to me somehow, I can try to make it work on the card.
Stephen Theobald said:However, the error messages you saw with your FreeRTOS project, e.g.:ARM.FreeRTOS::RTOS.Config.FreeRTOS - Additional software components requiredare because there is no FreeRTOS pack support available yet for Cortex-A5.FreeRTOS pack support is available out-of-the-box for Cortex-A9, but not yet for Cortex-A5 or -A7.Software for Cortex-A5 is similar to Cortex-A9 (some changes will be needed in the startup code), so you could try porting the working "CMSIS-RTOS2 FreeRTOS Blinky CA9 AC6 (Fixed Virtual Platform)" example to your SAMA5D27 board.
I understand, I didn't check if FreeRTOS has already ported to A5, maybe there isn't much work to do.
Stephen Theobald said:Do you need to use FreeRTOS? As an alternative, the Keil RTX5 RTOS is fully supported in the Packs for A5/A7/A9.
I need an operating system, I would have used FreeRTOs because I know it, I can still try RTX5.
Since the experts are fixing the errors, could they also create examples dedicated to the SAMA5D27-SOM1-EK1 board ?
Hi again debugasmHere are the changes to the "[SAMA5D2] Blinky_RTX5_AC6" example.In os_tick_pit.c, change__WEAK int32_t OS_Tick_Enable (void) {to__WEAK void OS_Tick_Enable (void) {and remove its return (0);Similarly, change int32_t to void for OS_Tick_Disable() and OS_Tick_AcknowledgeIRQ()>Since the experts are fixing the errors, could they also create examples dedicated to the SAMA5D27-SOM1-EK1 board ?Sorry, I don't think we could take that on. Best that you try this yourself.