Try getting back to a clean version of what you got from github (git clean -xdf is your friend, use with caution), then do not make any modifications to the project (such as adding libraries), but rather build the libraries first and then the executable projects. The reason for this hacky project structure is the MPLAB-X had some bugs related to properly supporting library dependencies. It is possible that those have already been fixed, and if so, I will un-hack this soon.
On Sun, Jan 5, 2014 at 12:47 PM, Johny Johansen <[email protected]> wrote: > Hi, >> > > I am not able to get the compiled bootloader and app working.My setup: > IOIO-OTG with PIC24FJ256GB206 > MPLAB-X 1.95 > C30 v 3.30b > > Using the following configurations: > libusb: PIC24FJ256GB206_CDC > DeviceBootLoader: SPRK0020 > AppLayerV1: IOIO0030 > > I have added library dependencies on libusb in as well DeviceBootLoader as > AppLayerV1 to get them to compile, and everything compiles (with a few > warnings). > > But when comparing the generated hex files with what is on the board, or > downloaded from https://github.com/ytai/ioio/wiki/Downloads: 4.00 + App > V3.30 (*recommended for IOIO-OTG*) > there are lots of differences. (Even if I program and read them out again > to get more easily comparable hex files) > > What is worse: If I program the IOIO with the hexfiles I have build, they > don't work, I am not called in setup(). If I reinstall the original hex > file to the board, it works again. > > I am using Pickit3, and I have the problem regardless if I program either > the bootloader, the app or both, on top of the working hexfile. Clearing > the chip and loading both bootloader and app, also fails. > > Reason for compiling is to generate a standalone application that works > also if the Android is not connected. > (see attached picture, where IOIO is hiding between the two prints). > > -- > You received this message because you are subscribed to the Google Groups > "ioio-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/ioio-users. > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed to the Google Groups "ioio-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/ioio-users. For more options, visit https://groups.google.com/groups/opt_out.
