Artwork

HPR Volunteer and Hacker Public Radio에서 제공하는 콘텐츠입니다. 에피소드, 그래픽, 팟캐스트 설명을 포함한 모든 팟캐스트 콘텐츠는 HPR Volunteer and Hacker Public Radio 또는 해당 팟캐스트 플랫폼 파트너가 직접 업로드하고 제공합니다. 누군가가 귀하의 허락 없이 귀하의 저작물을 사용하고 있다고 생각되는 경우 여기에 설명된 절차를 따르실 수 있습니다 https://ko.player.fm/legal.
Player FM -팟 캐스트 앱
Player FM 앱으로 오프라인으로 전환하세요!

HPR4497: fixing 328eforth

 
공유
 

Manage episode 516036680 series 32765
HPR Volunteer and Hacker Public Radio에서 제공하는 콘텐츠입니다. 에피소드, 그래픽, 팟캐스트 설명을 포함한 모든 팟캐스트 콘텐츠는 HPR Volunteer and Hacker Public Radio 또는 해당 팟캐스트 플랫폼 파트너가 직접 업로드하고 제공합니다. 누군가가 귀하의 허락 없이 귀하의 저작물을 사용하고 있다고 생각되는 경우 여기에 설명된 절차를 따르실 수 있습니다 https://ko.player.fm/legal.

This show has been flagged as Clean by the host.

Table of Contents

─────────────────

  1. greetings

  2. links to software

  3. hardware

  4. install

  5. check it works

  6. now the fix

  7. outro

0 greetings

═══════════════════

continuation from episode 4388, review of the book the Arduino controlled by eforth by dr chen-hanson ting

1 links to software

═══════════════════

https://github.com/PeterForth/DR-TING-OFFETE-SVFIG-MIRROR, 328eforth source code

https://github.com/Ro5bert/avra, opensource assembler

https://www.engbedded.com/fusecalc/, configuration fuse calculator

https://github.com/avrdudes/avrdude, flashing software

https://github.com/oh2aun/flashforth, terminal shell programs

2 hardware

══════════

programmer, avrisp2 recommended, build your own

https://www.hackerpublicradio.org/eps/hpr2799/index.html

Arduino UNO R3, Arduino Nano

3 install

═════════

download 2159_328eforth.zip unzip that file then cd into it

build assembler file, avra 328eforth220.asm

50+ warnings that avra generates because it pads out the words

with null characters in order to get the write size for each word

an over view of whats going on in the build process

flashing process from the book,

avrdude -p m328p -c avrisp2 -e -U flash:w:328eforth220.hex:i -U lfuse:w:0xff:m -U hfuse:w:0xd8:m -U efuse:w:0xfd:m

what i use,

avrdude -p m328p -c avrisp2 -e -U flash:w:328eforth220.hex:i -U lfuse:w:0xe2:m -U hfuse:w:0xd8:m -U efuse:w:0xfd:m

4 check it works

════════════════

open terminal and plug in board, or reset board you should see,

328eforth v2.20 if you hit the return key you'll get an ok

5 now the fix

═════════════

clues from turnkey

flush+

: flush+ ( -- )

context @ context i!

cp @ cp i!

dp @ dp i!

last @ last i!

flush

;

\ flush+ at the terminal prompt saves words,updates the memory pointers

\ saving words across reboots

now you can save newly defined words across reboots

6 outro

═══════

You're currently going through a difficult transition period called, "Life."

Provide feedback on this episode.

  continue reading

860 에피소드

Artwork

HPR4497: fixing 328eforth

Hacker Public Radio

87 subscribers

published

icon공유
 
Manage episode 516036680 series 32765
HPR Volunteer and Hacker Public Radio에서 제공하는 콘텐츠입니다. 에피소드, 그래픽, 팟캐스트 설명을 포함한 모든 팟캐스트 콘텐츠는 HPR Volunteer and Hacker Public Radio 또는 해당 팟캐스트 플랫폼 파트너가 직접 업로드하고 제공합니다. 누군가가 귀하의 허락 없이 귀하의 저작물을 사용하고 있다고 생각되는 경우 여기에 설명된 절차를 따르실 수 있습니다 https://ko.player.fm/legal.

This show has been flagged as Clean by the host.

Table of Contents

─────────────────

  1. greetings

  2. links to software

  3. hardware

  4. install

  5. check it works

  6. now the fix

  7. outro

0 greetings

═══════════════════

continuation from episode 4388, review of the book the Arduino controlled by eforth by dr chen-hanson ting

1 links to software

═══════════════════

https://github.com/PeterForth/DR-TING-OFFETE-SVFIG-MIRROR, 328eforth source code

https://github.com/Ro5bert/avra, opensource assembler

https://www.engbedded.com/fusecalc/, configuration fuse calculator

https://github.com/avrdudes/avrdude, flashing software

https://github.com/oh2aun/flashforth, terminal shell programs

2 hardware

══════════

programmer, avrisp2 recommended, build your own

https://www.hackerpublicradio.org/eps/hpr2799/index.html

Arduino UNO R3, Arduino Nano

3 install

═════════

download 2159_328eforth.zip unzip that file then cd into it

build assembler file, avra 328eforth220.asm

50+ warnings that avra generates because it pads out the words

with null characters in order to get the write size for each word

an over view of whats going on in the build process

flashing process from the book,

avrdude -p m328p -c avrisp2 -e -U flash:w:328eforth220.hex:i -U lfuse:w:0xff:m -U hfuse:w:0xd8:m -U efuse:w:0xfd:m

what i use,

avrdude -p m328p -c avrisp2 -e -U flash:w:328eforth220.hex:i -U lfuse:w:0xe2:m -U hfuse:w:0xd8:m -U efuse:w:0xfd:m

4 check it works

════════════════

open terminal and plug in board, or reset board you should see,

328eforth v2.20 if you hit the return key you'll get an ok

5 now the fix

═════════════

clues from turnkey

flush+

: flush+ ( -- )

context @ context i!

cp @ cp i!

dp @ dp i!

last @ last i!

flush

;

\ flush+ at the terminal prompt saves words,updates the memory pointers

\ saving words across reboots

now you can save newly defined words across reboots

6 outro

═══════

You're currently going through a difficult transition period called, "Life."

Provide feedback on this episode.

  continue reading

860 에피소드

모든 에피소드

×
 
Loading …

플레이어 FM에 오신것을 환영합니다!

플레이어 FM은 웹에서 고품질 팟캐스트를 검색하여 지금 바로 즐길 수 있도록 합니다. 최고의 팟캐스트 앱이며 Android, iPhone 및 웹에서도 작동합니다. 장치 간 구독 동기화를 위해 가입하세요.

 

빠른 참조 가이드

탐색하는 동안 이 프로그램을 들어보세요.
재생