Hi all, I wanted to test out NuttX and I've run into some very weird issues with compiling and running on a PIC32. I don't have any boards that are exactly the same as one of the sample configurations, but my assumption is that this is not an issue. I currently have two boards that I'm testing with: a chipKIT Max32, and an older Explorer 16 from Microchip. My starting point is with the pic32mx-starterkit configuration in the boards/mips/pic32mx directory.
I've only gotten output on the serial port about two times; all the other times it seems as though it panics very early in the boot process. One time it seemed to show some kind of memory dump, the other time I got a bus fetch exception at address 0x0. Moreover, it seems very inconsistent as to when it will actually output anything on the serial port - I can recompile what I think is the same version(same configuration settings), but running it will result in no output. I've tried using a compiler I built using crosstool-ng, but ld doesn't recognize -nostartfiles for some reason. I've also tried using Debian's MIPS cross-compiler. The final compiler I tried is a also built with crosstool-ng, from this repo[1]. All show the same issue. * Are my assumptions that I should just be able to build and run NuttX on the explorer16/max32 incorrect? I only care about getting a console on serial at the moment so I can start messing around with things. * What can I do to debug early boot problems? * Is there a better compiler to use? -Robert Middleton [1]: https://github.com/MajenkoProjects/crosstool-ng-pic32