www.8devices.com
|
|
|
Page 1 of 1
|
[ 3 posts ] |
|
Disable JTAG so that GPIO0 can be used? (On a LIMA module)
Author |
Message |
jstep
Joined: 02 Jan 2019, 15:15 Posts: 6
|
Hi, I need to be able to use GPIO0 (as a chipselect for SPI) but from the reading I have been doing, this is only possible if I disable the JTAG interface.
Please help, how do I disable the JTAG interface?
Thank you!
Joe
|
03 Jan 2019, 18:07 |
|
|
pepe2k
Joined: 11 Mar 2012, 18:42 Posts: 37
|
|
07 Jan 2019, 19:26 |
|
|
jstep
Joined: 02 Jan 2019, 15:15 Posts: 6
|
Thank you
In case anyone comes across this in the future;
We were able to disable the JTAG and use GPIO0 by first compiling a new busybox which includes the 'devmem' function, then using busybox devmem we were able to change the Memory at address 0x1804006C from 0x00000020 to 0x00000022 (set bit 1 to 1).
./busybox devmem 0x1804006C 32 0x00000022
After doing this, GPIO0 can then be manipulated using the traditional methods.
|
10 Jan 2019, 17:03 |
|
|
|
Page 1 of 1
|
[ 3 posts ] |
|
Who is online |
Users browsing this forum: No registered users |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|