Hi,
I've been over the code and cleaned up a few more things including that damned SPI_FULL_SPEED thing.
The last memory leak was not the cause, but that SPI bug is FINALLY dead.... it is full speed ahead.
1.In ALL the demo's it is better to disable BOTH the SD Card & ethernet chip selects(CS) before starting.
(I had a logic analyzer on it), problems in which library is called first SPI or Ethernet they don't play well together, have asked the Arduino team to look into it (fat chance)
The SS pin for the SPI is now dependent on the platform and pulled from the correct library when the board is selected (no more madness checking for the physical platform)
Multiple fixes for malloc returning NULL and being ignored......
'Major' change to get_field , really there is no need to be passing in the size, it reduces down stack requirements, thereby less chance of crashes in low memory situations.
Some minor cleanup in the 'test files'
Overall the code should be far less platform specific now (Just requires the SDcard CS hard coded),
Un-related
There is a serious bug in the ethernet library........, it seems that the routine for dealing with "16 bit words' only deals with 8 bit words...., it will be fixed in IDE 1.0.1.
This results in random hangs.
Hi, I've been over the code and cleaned up a few more things including that damned SPI_FULL_SPEED thing. The last memory leak was not the cause, but that SPI bug is FINALLY dead.... it is full speed ahead.
1.In ALL the demo's it is better to disable BOTH the SD Card & ethernet chip selects(CS) before starting. (I had a logic analyzer on it), problems in which library is called first SPI or Ethernet they don't play well together, have asked the Arduino team to look into it (fat chance)
Overall the code should be far less platform specific now (Just requires the SDcard CS hard coded),
Un-related There is a serious bug in the ethernet library........, it seems that the routine for dealing with "16 bit words' only deals with 8 bit words...., it will be fixed in IDE 1.0.1. This results in random hangs.