Loading Files via JTAG
Posted: Sat Dec 21, 2019 1:14 pm
Hi All,
I'm looking to flash a custom build of micropython onto my board via an exposed JTAG connector. The build I have uses an external SPI flash chip and is based closely on the pyboard lite. This is all working fine. Ideally I'd also like to put my python scripts on the board via JTAG or UART if not possible. I don't plan to have a USB connector on the board so can't connect this interface.
Is it possible to put .py files onto the filesystem via JTAG and if so, how is this done? If not how would it be done over UART?
Alternatively I'm not sure if it's possible to include scripts within the micropython image that show up in the filesystem? I'd rather not use frozen scripts as I plan to update these remotely occasionally once the board is deployed.
I also looked at accessing the REPL over UART (as described here https://docs.micropython.org/en/latest/ ... /repl.html) but that requires you to execute commands on the microcontroller to enable the UART. My board would be empty as it would have just been flashed with micropython over JTAG.
Any help is much appreciated, thanks.
I'm looking to flash a custom build of micropython onto my board via an exposed JTAG connector. The build I have uses an external SPI flash chip and is based closely on the pyboard lite. This is all working fine. Ideally I'd also like to put my python scripts on the board via JTAG or UART if not possible. I don't plan to have a USB connector on the board so can't connect this interface.
Is it possible to put .py files onto the filesystem via JTAG and if so, how is this done? If not how would it be done over UART?
Alternatively I'm not sure if it's possible to include scripts within the micropython image that show up in the filesystem? I'd rather not use frozen scripts as I plan to update these remotely occasionally once the board is deployed.
I also looked at accessing the REPL over UART (as described here https://docs.micropython.org/en/latest/ ... /repl.html) but that requires you to execute commands on the microcontroller to enable the UART. My board would be empty as it would have just been flashed with micropython over JTAG.
Any help is much appreciated, thanks.