polo-g40
Full Member level 2
As the background to this,
I've been struggling getting a microchip TCPIP stack based spplication, that came with the demoboard, working properly... In seconds I managed to compile it using C30 by taking out references to "ULToA()"'s. After programming the board with the compiled source, the CLI would work, the wifi and ICMP layers were working (I could join my wifi network, and ping the board with it's DHCP assigned address) but as soon as I asked for a webpage it would lock, both CLI and ICMP would stop responding until a reboot....
The supplied HEX file made the demoboard work perfectly as a web-server, serving files off a mini-SD card, and lighting LED's using an active-page supplied...
I've been looking at MPLABX anyway, so in desperation I tried installing it hoping for some difference in my web-board. Its in a Fedora unix VM on the same PC, so I know its the same source code folder. I imported the (v8) project, compiled it (after being asked to set a heap, and changing the "large" memory model options) and programmed it...... AND IT ALL WORKED!!!!
So I'd like to do all this in my MPLAB8, what is the difference in the compilers, Windows C30 vs Unix C30? If I compile it on the "X" machine, can I move everything to the Windows MPLAB8 and single step debug it?
Kind regards
NEAL
I've been struggling getting a microchip TCPIP stack based spplication, that came with the demoboard, working properly... In seconds I managed to compile it using C30 by taking out references to "ULToA()"'s. After programming the board with the compiled source, the CLI would work, the wifi and ICMP layers were working (I could join my wifi network, and ping the board with it's DHCP assigned address) but as soon as I asked for a webpage it would lock, both CLI and ICMP would stop responding until a reboot....
The supplied HEX file made the demoboard work perfectly as a web-server, serving files off a mini-SD card, and lighting LED's using an active-page supplied...
I've been looking at MPLABX anyway, so in desperation I tried installing it hoping for some difference in my web-board. Its in a Fedora unix VM on the same PC, so I know its the same source code folder. I imported the (v8) project, compiled it (after being asked to set a heap, and changing the "large" memory model options) and programmed it...... AND IT ALL WORKED!!!!
So I'd like to do all this in my MPLAB8, what is the difference in the compilers, Windows C30 vs Unix C30? If I compile it on the "X" machine, can I move everything to the Windows MPLAB8 and single step debug it?
Kind regards
NEAL