Getting started

444 views
Skip to first unread message

Leo Hellström

unread,
Jul 2, 2015, 10:20:01 AM7/2/15
to pixy_fir...@googlegroups.com
Hi everyone!

I just joined this group and I'm having difficulties getting up and running, hoping anyone here can help me.
I followed the steps in the google docs file found here in the forum:

I'm running Ubuntu and installed the free version of LPCXpresso. There is a hex file already in the git clone, which works fine when updating the firmware. When I compile the freshly cloned projects myself (no edits made to the code) and try to upload this firmware, I get: "error: invalid address range." followed by "error: Can't get firmware version."

Are there some obvious settings I need to change, I haven't added the arm-gcc to the path, but I'm not compiling through command line, so do I need to?

Also, my concern is that the the free version of LPCXpresso is limited to 256kB and the .hex file is 314kB, which may be the reason for a non-working .hex-file but the compiler doesn't show any error messaged suggesting I hit the limits. 

The original firmware in the git clone is 300.8kB while my corrupt is 314.1kB.

I suppose my question is if you would know why I can't generate a working hex file. Are there some settings I need to do and is the source code working out of the box?

Thank you for helping me setting this up!
Leo  

Rich LeGrand

unread,
Jul 2, 2015, 1:52:02 PM7/2/15
to Leo Hellström, pixy_fir...@googlegroups.com
Hi Leo, 
Nothing obvious seems to be going wrong.  We don't have any good testing in Linux.  Until this happens it's probably best to stick to Windows until we can identify issues specific to Linux.  We are using LPCXpresso 7.6.2, which also might make a difference.  LPCXpresso is on a steep development curve.  

thanks,
--rich
 

--
You received this message because you are subscribed to the Google Groups "pixy_firmware_sdk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pixy_firmware_...@googlegroups.com.
To post to this group, send email to pixy_fir...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pixy_firmware_sdk/371f1370-b0c8-4cea-b847-5a4bb778c622%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--

Leo Hellström

unread,
Jul 2, 2015, 5:01:13 PM7/2/15
to pixy_fir...@googlegroups.com, ri...@charmedlabs.com, leohe...@gmail.com
Hi Rich,
I reinstalled LPCXpresso using 7.6.2.
It works well now. I can compile the code and upload the firmware.
Still using Ubuntu though, as I figured I had to get cygwin, gcc, gpp, g++ working on the windows machine and basically run a linux shell.
Thank you!

I have  a few questions about the structure of the code.
Might take you some time to reply to, but would be extremely helpful for me.

There are 4 projects,
libpixy_m0, libpixy_m4, main_m0, main_m4
Is there any documentation for what each of these parts of the code is governing?
Or should I just start with a "call chart" and trace it all, starting with main_m4?

I'd be grateful for any hints.
Thanks
Leo

Rich LeGrand

unread,
Jul 2, 2015, 5:19:58 PM7/2/15
to Leo Hellström, pixy_fir...@googlegroups.com
Hey Leo, 
There are two programs -- one that runs on the M4 core and one that runs on the M0 core.  The lib projects are just libraries for the two programs.   The M0 code handles the frame acquisition and initial processing/filtering.  The m4 handles communications, and higher level blob assembly.  

hope this helps--

rich





For more options, visit https://groups.google.com/d/optout.



--
Reply all
Reply to author
Forward
0 new messages