Questions and a warning about the latest C30 compiler v3.25

49 views
Skip to first unread message

duderu

unread,
Nov 20, 2010, 11:02:59 PM11/20/10
to uavdevboard

Hi all,

I am new to the dev board and am excited to get started. I probably
won't order one until after Christmas but in the meantime, I plan to
get familiar with the code, et al. Couple questions:

1. Is this device possibly on the radar scope for v4 of UAV?

http://invensense.com/mems/gyro/mpu6000.html

2. Is anyone working on interfacing the board to qGroundControl?


And the warning. I was loading up a new computer and downloaded the
latest C30 compiler from Microchip (v3.25). I got linker errors and
also, the output showed higher data and program memory utilization.

Errors:
c:/program files/microchip/mplabc30/v3.25/bin/bin/../../lib\libc-
coff.a(vsnprintf.o)(.libc.vsnprintf+0x1e):fake: undefined reference to
`assert'
c:/program files/microchip/mplabc30/v3.25/bin/bin/../../lib\libc-
coff.a(vsnprintf.o)(.libc.vsnprintf+0x22):fake: undefined reference to
`alloc'
Link step failed.

Apparently, in the new version, the "assert() is a macro in the new
libc but was a function call in the old one. " according to this forum
link: http://www.microchip.com/forums/m535514-print.aspx

as far as memory usage:

v3.24
Total program memory used (bytes): 0x7c98 (31896) 65%
Total data memory used (bytes): 0x4ac (1196) 58%


v3.25
Total program memory used (bytes): 0x87a5 (34725) 71%
Total data memory used (bytes): 0x764 (1892) 92%

I am sure you veterans can get this worked out. I am glad I was able
to find the previous version as I didn't see an eval/lite version on
Microchips website that doesn't require a license.

Cheers,
Erik

Peter Hollands

unread,
Nov 21, 2010, 4:00:39 AM11/21/10
to uavde...@googlegroups.com
Erik,

I have just got a "proof of concept code" working for interfacing the UDB / MatrixPilot code to Qgroundcontrol. There is a lot to do still. But the basic protocol is working, and it looks like it is saving  RAM, as well as being much more efficient on the bandwidth required to send telemetry. I have some alpha code, that implements 1/2 of one protocol message in Mavlink. There are 50 or so other messages to impelement;  both downstream and upstream. So a long way to go.

Best wishes, Pete

Marc-X

unread,
Nov 25, 2010, 1:45:03 PM11/25/10
to uavdevboard
Peter,

Need an "alpha tester"? ;)

Cheers!
/Marc
Reply all
Reply to author
Forward
0 new messages