pycom lopy4 doesn't show repl prompt using vscode?
-
Hi everyone..!
I am new to this galaxy of Pycom and micropython. I was trying to connect to pycom lopy4 using Pymakr vscode extension. Initially, it wasn't even showing the console. Thanks to all of you for posting solutions to this issue. I downgraded vscode version to 1.58.2 ! and pymakr version is the latest 1.1.18.
It now shows the terminal.
However, I am it doesn't connect to the pycom board and keeps showing connecting COM7 ...- i have verified the serial port it is correct.
- I have also tried to connect using PuTTy using 115200 baud rate and flow control :No
- I have also tried using Ubuntu 20.4 -- Vscode pymakr + Picocom and Screen as well
- But it keeps showing Connecting to port ....
- on ubuntu, I have a user to dialout group as well.
Could you please help out to resolve this issue??
Thanks in advance.!
-
Hello everyone, if you are seeing this comment !... So coming back to the problem I had. Since I was beginner so I tried almost all the tools and tricks to connect the pycom lopy4 using pymakr and vscode.
But the issue was resolved by updating the firmware of the module to the latest one.
Hence if you are having such issues don't forget to update the firmware.thanks to Robert, btw!
-
@robert-hh it is pybyte firmware. Anyways, thanks for your response! I will update the firmware and see if it works for me...
thanks again!
-
@Mogambo-Khan Older Pycom versions of the firmware are here: https://docs.pycom.io/advance/downgrade/
It may be that a PyBytes firmware does not work any more since Pycom got bankrupt.
-
@Mogambo-Khan Is it the pybytes or pygate firmware? In any case, try a legacy firmware version.
You can as well try this one built by me, which I know it works on my LoPy4 devices: https://github.com/robert-hh/Shared-Stuff/blob/master/LoPy4-1.20.2.r6.tar.gz
-
@robert-hh the flashed firmware is 1.20.2.6r
-
@Mogambo-Khan OK. So you are on the right port. Just the firmware does not start. Try loading the LoPy4 firmware again. Which firmware did you use?
-
@robert-hh I receive the following message when I press reset: for ttyACM0
rst:0x1 (POWERON_RESET),boot:0x12 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff8020,len:8
load:0x3fff8028,len:2140
ho 0 tail 12 room 4
load:0x4009fa00,len:19760
entry 0x400a05bc
-
@Mogambo-Khan What happens when you connect with picocom and push reset at the board? Which tty device do you connect to?
-
@robert-hh thanks for your reply. Picocom says terminal ready: but can't type anything .....
-
@Mogambo-Khan You should be able to connect to the board using Ubuntu and just pico com at a baud rate of 115200. Which usb-serial interface do you use? The expansion board?