On Mon, Apr 08, 2013 at 08:43:57PM -0700, Angus Gratton wrote:
> I'm trying to probe some test pads on my A10S MK802+ stick.
Worked out most of this. The two marked test points on my MK802+ stick
are PB11 & PB14. According to the datasheet they mux to half of SPI2
or half the JTAG port, but not a UART... Design error? Or is the rest
of JTAG available somewhere else?
Photos:
http://www.projectgus.com/files/a10s/
The two pads on two opposite corners of the A10s package appear to be
fiducials or something similar. Measured as floating. Pulling them up
& down didn't show anything in fel-gpio.
I don't see anything else in the photos that looks like a possible
serial port. Anyone have any ideas?
With regards to my other questions:
> However, I'm having trouble getting sensible output. Lots of values seem to
> be changing at random (not just drv_level/data, some mux_sel values are
> changing too.) Here's a sample from running fel-gpio and then pressing
> Enter a few times to have it diff the PIO status without changing anything
> myself:
http://pastebin.com/raw.php?i=i5TaErCT
The pio tool was broken and I was looking at garbage uninitialised
data each time. Pull request with fix sent[1].
fel-gpio works fine on A10s, same as A10.
> What are
> the drive levels? Is data used for input only, or is it for both directions?
I was mostly confused here due to trying to interpret random data. It seems:
- Data bit is bidirectional.
- Drive levels don't seem to do anything in GPIO mode that I could
measure easily. The only thing I can guess is they're related to setting an
output current drive limit.
> * I'm assuming it's not possible to get at I/O memory directly via FEL,
> hence the need for the fel-pio.c binary? If I run './fel hex 0x1c20800
> 0x228' then I see some varied but unchanging data, but I assume that's not
> actually seeing into the GPIO memory space?
Yes, you can read I/O data this way. Seems you can't write to the GPIO
space that way, though.
Regards,
Angus