On Thu, Mar 08, 2012 at 11:36:05PM +0100, Nils wrote:
Op woensdag 07-03-2012 om 21:38 uur [tijdzone -0500], schreef Kevin O'Connor:
Oh - it definitely wont work with it changed to malloc_high. The test is just to see if the controller continues to freeze with it that way. It looks like the timeouts went away, which would indicate that your USB chip has some problems DMAing to low memory. Definitely sounds like a chip bug. Best way to confirm that would be to repost the log with the malloc_high change on top of the debugging patch I last sent.
See seriallog-20120308_173529.log
Another test you could do would be to change the allocations back to "malloc_low()" but as "malloc_low() + 0x50000" to see if moving the allocations from the 9-segment to the e-segment makes the controller happy.
See seriallog-20120308_183255.log
It looks pretty clear that the controller doesn't like 9-segment nor e-segment addresses. You could try "malloc_low() - 0x50000" to see how the controller likes 4-segment address, but basically the only hope of getting this to work is to see if you can fix the controller.
-Kevin