Arduino USBasp Programmer / Simple Forth Programming

preview_player
Показать описание
This video will describe how to program a hex file into into the ATmega328p microcontroller using an USBasp programmer. AVRdudess and Zadig software will be covered. Interactive Arduino Forth will run and simple programming will be demonstrated.

eForth documentation:

Interactive Arduino hex file: IA.hex

Interactive Programming:

Viewer's video on starting Forth project: Nite1
Рекомендации по теме
Комментарии
Автор

I used FORTH many years ago on the VIC20, C64, and Amiga. I really like the way it allows you to build more and more powerful words and to go back and rewrite time critical words in assembler or optimize them. Your tutorials are excellent. Thanks.

gregt
Автор

I have never regreted subscribing to this channel, great stuff as usual! Looking forward for more info on this topic.

Vasilis K

VasilisKarastergios
Автор

This is just what we need! Thank you.

MXYM
Автор

Thanks for another great video! Really cool content for those of us learning Forth!

nite
Автор

Great stuff, as usual and thanks so much for the info links and hex file download.
I don't know about anyone else but I certainly wouldn't complain if your videos where a lot with the Forth based material !

ShellacScrubber
Автор

The next challange now will be to use USBasp to get the hex file into chip, UNO and nano. I will have to have a very close look at your video. THank you very much for posting it.

jurgenpitaske
Автор

Very cool, great video, thanks for doing this!

mikaelkindborg
Автор

0033mer I found the word SEE which seems to give register or memory info about the contents of a word, such as SEE DUP or SEE +. Do u know if there is a word which can display a Forth word’s definition i.e display a word’s programming code as the programmer wrote it in a text file ? For example if I define : HELLO .” hello world” ; Is there a word which will display HELLO’s code?

nite
Автор

Just curious if you could do a video on a complex project you’ve done in Forth. I’m just getting into using Forth and I really enjoy the format of your videos. Thanks!

dwagner
Автор

Nice effort 👍🏻. Is it possible to debug atmge processors just loike debugging STM32 with ST link ?

usefulelectronics
Автор

Glad I found this excellent video! It would have probably taken me a few weeks to figure all of this out by myself. Thanks a lot! Just one question: From my understanding, when defining a new word and executing "flush", that word should be saved to the flash memory? But after power-cycling, the new words are not saved. I've started reading some eBooks from Dr. Ting, but I still can't figure out how to save wordsvafter removing power.
As I understand it, it is first written to RAM, then with flush to the flash memory. Am I doing something wrong? Also, all the examples are working, so flashing the LED, the morse code etc. There's just this problem.
Can you point me in the right direction? Maybe I have some fuses incorrectly set up? (I followed your video exactly)
Thanks a lot in advance!!
I just recently discovered FORTH but I'm completely hooked an fascinated. :)

astralchemistry
Автор

Excellent, very nice introduction to forth,
Questions?
- How do we recover the prompt when putting a word to run on power up?
- How to delete/display content of a word (mine)?
- Or anyway to get my words back in terminal for backing up?
Regards and thank you,
Regards

marcelocorrea
Автор

Hello we are a small manufacturer of some turf equipment and we are using a wireless remote. the remote times out at three minutes of inactivity, which is annoying because your operating the equipment the next thing you know you can control any functions unless you press and hold the power on button for 2 seconds then you can operate again. the remote manufacture is unwilling to change the timeout setting for us so we are looking at reprogramming the remote to 10 min of inactivity. The controller chip is ATMEL MEGA48PA MU1510 A2UJJA. So would you be able to help me change that setting?

hhopowerboy
Автор

hello 003m3r. Is it possible to get the dokumentation for your programmed words? I mean what a word is dooing, expect from the stack and release on the stack in the form : a b - - c.
Would be helbfull to continue programming and to check how it woks. Friendli greetings erwin

erwindreyer
Автор

awesome. I played with eforth before. your words look very handy. do you have anything to handle the pwm pins?

centrixvca
Автор

003mer Good day to you! I understand pull up resistors ensure no floating pins. Is there a case where we would not want to set a pull-up resistor for a particular pin? Also, could we just as well set pull-down resistors? Thanks :)

simplelyf
Автор

Is this based on eforth 328 from Dr. Ting ?

JeanJonethal
Автор

Is this forth inplementation better than flashforth? I saw you used flashforth in other videos

leonhiem
Автор

Good tutorial. I'm a beginner, I'm ok with Arduino ( C Sketches) and simple GForth code, so I might take the plunge to do some ISP programming.
Thanks

FondueBrothers
Автор

I would appreciate if you could provide a source code for your IA.hex file. I am trying to do the same on Pro Micro board (ATMega32U4) using FlashForth. In other words, I would like to see how do you define .pins, mem, .pullup, flush, times, many, extend, and other Forth words so I can replicate it for the ATMega32U4.

glaukonariston