Hi all, I'm new to Forth and to the forum. I have a couple of these boards laying around, I have flashed them with avrdude, but for what ever reason, I can't get any of them to give me a console, has anyone manage to get them sorted? Was looking into FlashForth with it's support for I2C as the main attraction to learn ( was on my bucket list) and develop some quick projects around the house.
I'm on windows, but I could only flash the boards on a RPi running Linux as the Arduino IDE has issues ( well windows drivers issues) to properly get the boards connect with the 6.x version of AVRDUDE that it's running. If I run the current version, I can flash the cards, but in Windows, they miss behave and it looks like there is a reset after flashing and I get a avrdude: usbdev_open(): did not find any USB device "usb" (0x03eb:0x2104) time out message. I was able to load several hex files that I created with blinky on assembly I found on stockexchange, they all work...
;blinky.asm;turns on LED which is connected to PB5 .equPORTB=0x05.equDDRB=0x04ldir16,0b00100000outDDRB,r16outPORTB,r16Start:rjmpStart
I'm not sure what is going on, but it's frustrating not knowing this platform as much as I do the ST or TI boards. Please advice.
What do I see, I set TeraTerm ( I'ved tried every combination possible) but I've never had an issue trouble shooting HW serial connection. I see TX ( or I should say the RX on the board) give a receive signal but there is no response.
Well, as I was typing this, unless someone has found a way to successfully use this board, I think I will give up on them... simple serial output seems to be a challenge with the CH340 chip... from all am reading.
Anyhow, worth a shot, else please advice on some true and tried boards.
Cheers from Spain!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hey everyone, quick update, resolved my issue, been bitten by this twice now in into weeks, it was the programmer cable.
Man, that took a while, recompiled the code several times... and then... could not believe that 3 for 3 the boards where bad... I moved over to a friends house, took the code with me and it worked first try... I took my laptop out reflashed and it failed, that is when I thought, wait, give me just your cable... and it worked.
wordsp2+padpc@@pddrbportbhiunusedd.ud.d>d<d=d0<d0=dinvertd2*d2/d-d+dabs?dnegatednegates>drdropenditnextforin,inlinerepeatwhileagainuntilbeginthenelseifzflpflxa>>xax>rdump.swords>pr.idmsticksr0s0lateststatebl2-['] -@ ; :noname : ] [ does> postpone create cr [char] ihere ( char 'litabort" ?abort ?abort? abort prompt quit true false .st inlined immediate shb interpret 'source >in tiu tib ti# number? >number ud/mod ud* sign? digit? find immed? (f) c>n n>c @+ c@+ place cmove word parse \ /string source user base hb hp task ulink rsave bin hex decimal . u.r u. sign #> #s # digit <# hold up min max ?negate tuck nip / u*/mod u/ * u/mod um/mod um* 'key? 'key 'emit p++ p+ pc! p! p@ r>p !p>r !p u> u< > < = 0< 0= <> within +! 2/ 2* >body 2+ 1- 1+ negate invert xor or and - m+ + abs dup r@ r> >r rot over swap drop allot ."," s"(s" type accept 1 umax umin spaces space 2swap 2dup 2drop 2! 2@ cf, chars char+ cells cell+ aligned align cell c, , here dp ram eeprom flash >< rp@ sp! sp@ 2constant constant 2variable variable @ex execute key? key emit Fcy mtst scan skip n= rshift lshift mclr mset ic, i, operator iflush cwd wd- wd+ pause turnkey to is defer value fl+ fl- c! c@ @ x! x@ a> ! >a literal int! ;i di ei ver warm empty rx1? rx1 tx1 rx0? rx0 tx0 load- load+ busy idle exitmarkerok<#,ram>
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You probably have already found 0033mer's channel, on youtube about using flashforth. Here is a demonstration of the use of the mega 2560 pro board https://www.youtube.com/watch?v=WYLUM_mbCvI
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, thank you for following up with me. As I mentioned, the issue was with
my cables, it just so happened that I could flash anything ( using avrdude
) but it failed only when I was flashing FF5.0. When I tried to load a
bootloader since I would not see anything on the board, I realised I could
no longer flash it, which led me to take the board to a friend's house and
we successfully flashed everything on it. When I used my AVRISP, it then
failed, which led me to change the cable and solve the issue. Greatly
appreciate your comments. I did post on his video, but I guess he did not
like me questioning what param he used to flash his board as it was erased.
You probably have already found 0033mer's channel, on youtube about using
flashforth. Here is a demonstration of the use of the mega 2560 pro board https://www.youtube.com/watch?v=WYLUM_mbCvI
I'm on windows, but I could only flash the boards on a RPi running Linux as the Arduino IDE has issues ( well windows drivers issues) to properly get the boards connect with the 6.x version of AVRDUDE that it's running. If I run the current version, I can flash the cards, but in Windows, they miss behave and it looks like there is a reset after flashing and I get a
avrdude: usbdev_open(): did not find any USB device "usb" (0x03eb:0x2104)
time out message. I was able to load several hex files that I created with blinky on assembly I found on stockexchange, they all work...I'm not sure what is going on, but it's frustrating not knowing this platform as much as I do the ST or TI boards. Please advice.
What do I see, I set TeraTerm ( I'ved tried every combination possible) but I've never had an issue trouble shooting HW serial connection. I see TX ( or I should say the RX on the board) give a receive signal but there is no response.
Well, as I was typing this, unless someone has found a way to successfully use this board, I think I will give up on them... simple serial output seems to be a challenge with the CH340 chip... from all am reading.
Anyhow, worth a shot, else please advice on some true and tried boards.
Cheers from Spain!
Hey everyone, quick update, resolved my issue, been bitten by this twice now in into weeks, it was the programmer cable.
Man, that took a while, recompiled the code several times... and then... could not believe that 3 for 3 the boards where bad... I moved over to a friends house, took the code with me and it worked first try... I took my laptop out reflashed and it failed, that is when I thought, wait, give me just your cable... and it worked.
You probably have already found 0033mer's channel, on youtube about using flashforth. Here is a demonstration of the use of the mega 2560 pro board
https://www.youtube.com/watch?v=WYLUM_mbCvI
Hi, thank you for following up with me. As I mentioned, the issue was with
my cables, it just so happened that I could flash anything ( using avrdude
) but it failed only when I was flashing FF5.0. When I tried to load a
bootloader since I would not see anything on the board, I realised I could
no longer flash it, which led me to take the board to a friend's house and
we successfully flashed everything on it. When I used my AVRISP, it then
failed, which led me to change the cable and solve the issue. Greatly
appreciate your comments. I did post on his video, but I guess he did not
like me questioning what param he used to flash his board as it was erased.
On Sun, Jun 5, 2022 at 10:48 AM Frans-Pieter VOnck oberoid@users.sourceforge.net wrote: