I'm having some difficulty compiling the firmware off of the CD that came with my PCAN-GPRS Link.
I have installed my winarm, installed eval uVision4 and altered the project compiler accordingly.
When I (clean first!) then Build Target, I get a lot of messages saying "Could Not Find C:\embed\pcan\first\out\gcc\main.__i.gnu" there is one for each C file in the project.
From the instructions, this appears to be dead simple to set up, am I missing something simple?
Has anyone tried using the Makefile directly? I've noticed quite a few typos and bits missing from it, I have corrected it and now it does compile and produce a telematic.bin The problem is this file is nearly twice the size of the original FirmCRC.bin so I think some settings are wrong. Anyone got any help with this?
do you get the mail I have send to you yesterday and today?
As I had written in the mail, let us phone to clear the problem with µVision.
The size of the binary file is bigger because of the gcc compiler and the disabled optimization. We started to test gcc with optimization but when we create the libs and later the build the program, it seams that gcc gcc does not load the libs right in the program. When you use RealView and optimization 2 you get this small bin-file. The bigger file is normal for gcc.
could it be possible, that you have updated your µVision? The problem is, that Keil has updated the way calling gcc and the ARM-glue- file will not work with newer Versions of µVision.
we have changed this a for a while. It is only possible to compile with old µVision Version (V4.13 or less). Is it possible for you to use/get this Version?
I've been trying to find an older version but I wasn't able to find one. Keil only offers the latest version of the MDK which includes uVision 4.22.22. Do you possibly have the 4.13 version available (non-licensed ofcourse)?
Thanks again for your assistance.
I will try to create a makefile, but this will take a bit time. Because I have to test this solution. So that it is possible to create a binary file without µVision.
attached you can find the sample code with the makefile. For using the makefile, please have a look inside the user manual (PCAN-Router manual in PDF format (English)) from our PCAN-Router. Inside this manual there is a description how to build your code with a makefile (page 25).
- Projekt Version 1.6.2 with Makefile
- (5.44 MiB) Downloaded 666 times
And I'm still having problems compiling. When I use the make file a lot off errors occur.
In the attachment a copy of the errors.
Thanks in advance for your coorporation
- Error melding.docx
- (11.99 KiB) Downloaded 623 times