sg-wireless / pymakr-atom

Adds a REPL console to Atom that connects to your Pycom board. It can run code on the board or synchronize your project files.
Other
35 stars 11 forks source link

Cannot tape any command line on REPL console #102

Closed bricedenicedu69 closed 5 years ago

bricedenicedu69 commented 5 years ago

Hello! Since a few days now, I can't type any command line on the Pymark, although my Pycom board is connected. I even have the ''Connected'' sign so I guess that is not the problem. Then, when I try to run the code, it's written ''Running mycode...'' but for a really long long time and even after that, nothing happens and the code is still running. I first wanted to type my command lines on the consol separately but it's not working on worrying me. I don't know if I made myself clear enough but I can provide you with further information if needed. Thanks

RalphHogenbirk commented 5 years ago

Hi @bricedenicedu69, which OS are you using, and which Pymakr/Atom versions?

Usually this happens when there is code running on the board that's blocking access to the REPL. You could try ctrl-c to stop the code after connecting, or even ctrl-f to do a safe boot. Another common cause of this issue is when there are jumpers missing from the expansion board. Have at least the top 4 jumpers (tx, rts, rx, cts) placed to have a all terminal features.

bricedenicedu69 commented 5 years ago

Hi Ralph and thanks for answering so fast. I am using Atom 1.31.1 and Pymakr 1.4.4 which are the most recent versions I think. I did a safe-boot by connecting G20 (P12) to 3V3 and pressing the reset button. The LED started blinking orange faster and faster. When I checked the consol, I had multiple messages : load:0x3ffff8020,... the last one being : E(8006) esp_image:Checksum failed. Calculated 0x24 read 0x72. I guess this did not work. I shall try the other solutions you proposed but I do have the 7 jumpers (tx,rts,rx,cts) included, even if I did not cable them nor use them really. With best regards


De : Ralph notifications@github.com Envoyé : lundi 1 octobre 2018 17:55 À : pycom/pymakr-atom Cc : bricedenicedu69; Mention Objet : Re: [pycom/pymakr-atom] Cannot tape any command line on REPL console (#102)

Hi @bricedenicedu69https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fbricedenicedu69&data=02%7C01%7C%7Cab5618a6dc824f22d64b08d627b64163%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636740061056822474&sdata=lEFMQibqwMdOhH1ao4%2FR25Al3TSlTDmOK1CN1ZtjK4c%3D&reserved=0, which OS are you using, and which Pymakr/Atom versions?

Usually this happens when there is code running on the board that's blocking access to the REPL. You could try ctrl-c to stop the code after connecting, or even ctrl-f to do a safe boot. Another common cause of this issue is when there are jumpers missing from the expansion board. Have at least the top 4 jumpers (tx, rts, rx, cts) placed to have a all terminal features.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fpycom%2Fpymakr-atom%2Fissues%2F102%23issuecomment-425960501&data=02%7C01%7C%7Cab5618a6dc824f22d64b08d627b64163%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636740061056822474&sdata=rmCqBXo%2Bqg%2BZl8dj8cTQlY4Y4wDNYP9aesxNogAfREA%3D&reserved=0, or mute the threadhttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FApQz8YpunxGaVYriDi3cse2rQ1zbkJT5ks5ugjrYgaJpZM4XCNzp&data=02%7C01%7C%7Cab5618a6dc824f22d64b08d627b64163%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636740061056822474&sdata=GhlsN%2FIkNxiYWRhebzEUOexGySk5kZcrO9wpMje2Apc%3D&reserved=0.

RalphHogenbirk commented 5 years ago

The 'checksum failed' message makes me think the firmware on the device is corrupt. You could try to flash the firmware again using the firmware updater tool. Let me know if that works.

EDIT: Use the 'erase flash' checkbox in the firmware updater tool to make sure everything is deleted before re-flashing the firmware

bricedenicedu69 commented 5 years ago

I followed your advice and it worked! Thanks for your help. With best regards, Brice


De : Ralph notifications@github.com Envoyé : mardi 2 octobre 2018 10:18 À : pycom/pymakr-atom Cc : bricedenicedu69; Mention Objet : Re: [pycom/pymakr-atom] Cannot tape any command line on REPL console (#102)

The 'checksum failed' message makes me think the firmware on the device is corrupt. You could try to flash the firmware again using the firmware updater toolhttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.pycom.io%2Fgettingstarted%2Finstallation%2Ffirmwaretool&data=02%7C01%7C%7C2b3b57aae87d45168e9b08d6283f96c2%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636740650899732490&sdata=Ucay3YmPXbKqaVY%2BLyTmiPhpidhKKcCvgKnaGbhSJjY%3D&reserved=0. Let me know if that works.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fpycom%2Fpymakr-atom%2Fissues%2F102%23issuecomment-426188804&data=02%7C01%7C%7C2b3b57aae87d45168e9b08d6283f96c2%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636740650899732490&sdata=pSqFvPPY4Llu3KFEkmCHK1YqNKoonJEFoBvmcGzQjck%3D&reserved=0, or mute the threadhttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FApQz8ZdBZw9bjEk9CA7V_Hg5rOX9DSV0ks5ugyE-gaJpZM4XCNzp&data=02%7C01%7C%7C2b3b57aae87d45168e9b08d6283f96c2%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636740650899732490&sdata=onyY3o4zvuGyLkEFareZKdXamWnteZc7GnXcg49nmV4%3D&reserved=0.