Instructions out of order?

Discussion to talk about software related topics only.
User avatar
pbreed
Posts: 1091
Joined: Thu Apr 24, 2008 3:58 pm

Re: Instructions out of order?

Post by pbreed »

Putting your data at 0x02800000 is right up against the SDRAM
I like to leave a gap (I know its not supposed to be necessary, but caching gets kind of weird near the edges.

Try an address 0xC0000000 or so...
Also know that with an 8 bit bus the bits are justified high.
D31-MSB
D24-LSB
D23->D0 unused.


Paul
User avatar
pbreed
Posts: 1091
Joined: Thu Apr 24, 2008 3:58 pm

Re: Instructions out of order?

Post by pbreed »

Also realize that the data buss is always active, so your comment that the CS happens in the middle of the data bus transactions
is wrong, you do not have exclusive use of the data bus, while your writing to your device the processor can and will be using the
databus to get the next instruction, the data from SDRAM etc....

The data bus is only aimed at your peripheral when your cs is active (low).

Paul
DBrunermer
Posts: 67
Joined: Thu Apr 21, 2011 7:06 am
Location: Pittsburgh, PA

Re: Instructions out of order?

Post by DBrunermer »

Sorry I didn't get to update this sooner. So I turned off all the optimizations, and while the problem didn't go away, it got much more stable. But as it turns out, the scope may have been a factor. Friday was our annual calibration day, and after the tech tuned up the scope, I started to get different results, much more in line with my expectations. Thank you so much. Dan B.
User avatar
tod
Posts: 587
Joined: Sat Apr 26, 2008 8:27 am
Location: Southern California
Contact:

Re: Instructions out of order?

Post by tod »

We have two hats in our lab, that sit on pegs until needed. One is emblazoned with "It's the Hardware", the other says "It's the Software". Sounds like we should get one with "It's the Test Equipment"!
Post Reply