Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 20:42 24 Nov 2024 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : Picomite Xmodem Failure

Author Message
damos
Regular Member

Joined: 15/04/2016
Location: Australia
Posts: 63
Posted: 10:55pm 29 Aug 2024
Copy link to clipboard 
Print this post

I bought 10 of these and every one of them is failing using XMODEM:
https://core-electronics.com.au/raspberry-pi-pico.html

I tried both V5.08.00 and V5.09.00RC5 and they both fail on 4 devices I have tried.

In the same order I purchased 5 Webmites and they work perfectly using Webmite firmware.

When I install the firmware the BASIC interpreter seems to work fine.

I have an 11k BASIC program the responds with:
Error: Remote did not respond.
On some Picos it tries to send the file but takes a long time then fails.

If I try to receive a file (eg jpg) it will sometimes give the same error and sometimes display the XMODEM Send dialog in Tera Term which just hangs there for several minutes before failing.

Is anyone else having these problems or do I just have a bad batch?
 
phil99

Guru

Joined: 11/02/2018
Location: Australia
Posts: 2135
Posted: 11:36pm 29 Aug 2024
Copy link to clipboard 
Print this post

  Quote  Is anyone else having these problems or do I just have a bad batch?

It is unlikely to be a hardware problem as you were able to load the firmware and your program, and it runs.

I haven't used Xmodem within a program but at the console in both V5.08.00 and V5.09.00RC5 it works fine.

Just tried
xmodem receive "Auto Tx.bmp"
then
File -> Transfer -> Xmodem -> Send
and it also worked  on V5.09.00RC7

The mistake I usually make is having send or receive at both ends. That produces the result you are getting.
 
damos
Regular Member

Joined: 15/04/2016
Location: Australia
Posts: 63
Posted: 12:28am 30 Aug 2024
Copy link to clipboard 
Print this post

Thanks. I was only using it on the console.

I have also made that mistake (sometime tragically) when I accidentally selected receive after typing XMODEM RECEIVE only to overwrite the copy of the file.

The firmware installs perfectly so I don't think the chips are faulty. At one point I was finding files <2k worked but nothing over. Now everything fails. I suspected faulty flash on the chip but will need to try to create files programmatically to confirm this.

I am wondering if there is a timing issue and my chips aren't happy with it.
 
damos
Regular Member

Joined: 15/04/2016
Location: Australia
Posts: 63
Posted: 12:34am 30 Aug 2024
Copy link to clipboard 
Print this post

Ok, I solved my own problem - my final line with "timing" caused me to think maybe others are overclocking.

I changed by CPU SPEED to 378000 and it worked perfectly.
 
okwatts
Regular Member

Joined: 27/09/2022
Location: Canada
Posts: 59
Posted: 12:42am 30 Aug 2024
Copy link to clipboard 
Print this post

I have had problems in Linux using picocom with the sx addin on later versions of MMBasic but I believe about 5.07.04 it worked but by 5.07.07 it didn't, so something changed in the timing or something else. I haven't tried with win10/Teraterm in a while but I have never had issues with that. MMedit should work as well although I have never really mastered it on Linux. Normally I just either move to my Windows machine and xmmodem in Teraterm or load the programs to an Microsd and use them from there.
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6097
Posted: 12:44am 30 Aug 2024
Copy link to clipboard 
Print this post

You need a line delay in TeraTerm.
VK7JH
MMedit   MMBasic Help
 
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2024