8devices Community https://www.8devices.com/community/ |
|
Disable JTAG so that GPIO0 can be used? (On a LIMA module) https://www.8devices.com/community/viewtopic.php?f=23&t=1207 |
Page 1 of 1 |
Author: | jstep [ 03 Jan 2019, 18:07 ] |
Post subject: | Disable JTAG so that GPIO0 can be used? (On a LIMA module) |
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 |
Author: | pepe2k [ 07 Jan 2019, 19:26 ] |
Post subject: | Re: Disable JTAG so that GPIO0 can be used? (On a LIMA modul |
Author: | jstep [ 10 Jan 2019, 17:03 ] |
Post subject: | Re: Disable JTAG so that GPIO0 can be used? (On a LIMA modul |
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. |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |