FreeRTOS Support Archive
The FreeRTOS support forum is used to obtain active support directly from Real
Time Engineers Ltd. In return for using our top quality software and services for
free, we request you play fair and do your bit to help others too! Sign up
to receive notifications of new support topics then help where you can.
This is a read only archive of threads posted to the FreeRTOS support forum.
The archive is updated every week, so will not always contain the very latest posts.
Use these archive pages to search previous posts. Use the Live FreeRTOS Forum
link to reply to a post, or start a new support thread.
[FreeRTOS Home] [Live FreeRTOS Forum] [FAQ] [Archive Top] [April 2010 Threads] Port for SAM3U under Keil µVisionPosted by FG on April 16, 2010 Hi,
I try to port FreeRTOS on a SAM3U-EK board with Keil toolchain. I use an existing working project and I have included FreeRTOS sources. Unfortunately, portASM.s file i use (from CORTEX_AT91SAM3U256_IAR\Source\portable\RVDS\ARM7_LPC21xx\) seem d'ont compile with SAM3U. I have the following error: "portASM.s(69): error: A1630E: Specified processor or architecture does not support ARM instructions"
Have there an working port of portASM.s for SAM3U?
Best regards
RE: Port for SAM3U under Keil µVisionPosted by Dave on April 16, 2010 That is because you are trying to use an ARM7 file (which does support ARM code) with a cortex M3 (which does not support ARM code).
You want to use the files from the RVDS\ARM_CM3 directory.
RE: Port for SAM3U under Keil µVisionPosted by FG on April 16, 2010 Ok, but there are not this file inside the RVDS\ARM_CM3 directory.
RE: Port for SAM3U under Keil µVisionPosted by FG on April 19, 2010 Hi, If I want to port the SAM3U project for to Keil toolchain, I have to rewrite the portasm.s from IAR project with asm code for RVDS/Keil compiler?
Thanks
RE: Port for SAM3U under Keil µVisionPosted by Dave on April 19, 2010 No. All the files you need are in the Source\portable\RVDS\ARM_CM3 directory. Open another Keil CM3 project to use as a reference.
RE: Port for SAM3U under Keil µVisionPosted by FG on April 20, 2010 I understand now. In Keil, asm code and C code are in the same file port.c . In IAR project, the two different codes are in two different files.
RE: Port for SAM3U under Keil µVisionPosted by FG on April 20, 2010 Hi,
I still have a problem with my project.
I have modified the demo program. Only two tasks are running: vStartLEDFlashTasks and the task for LCD (just for show a single text line). When the program runs on the SAM3U-EK board, it's very slow (!).After a while, the program resets. I have the same problem under simulation, the program resets and I have not found why.
Any suggestions?
Thanks
RE: Port for SAM3U under Keil µVisionPosted by Dave on April 20, 2010 Just a stab in the dark, but do you have an interrupt that is continuously firing because its not being cleared correctly?
How are you simulating the application?
RE: Port for SAM3U under Keil µVisionPosted by FG on April 20, 2010 I simulate with simulator of Keil.
I have just see that I fall in HardFault_Handler.
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|