flat assembler
Message board for the users of flat assembler.

Index > IDE Development > armega328 rs232 programing no IDE

Author
Thread Post new topic Reply to topic
connor



Joined: 07 Jun 2016
Posts: 79
connor
The idea is program the micro controller through rs232

without the use if that shitty shit shit IDE; I hate the Arduino.

Ignoring how its put together or why it couldn't work,

do i need some fancy trick to do it?

Or can i just simply dump the ASM or C code through serial communication?


So I could in theory program it on any machine imaginable.

Atari 8bit, IBM PC or some wired shit like that.

And to figure if i should even bother.

_________________
cars tech weed bitches country & thug life
Post 11 Nov 2020, 09:35
View user's profile Send private message Reply with quote
FlierMate



Joined: 21 Jan 2021
Posts: 129
FlierMate
You can use Arduino IDE.

Then write the driver in .INO, compile to hex binary and upload it to ATmega328. With the IDE it is very easy.

The Arduino IDE uses AVRDUDE internally to reflash the Arduino board.
Quote:
AVRDUDE is a utility to download/upload/manipulate the ROM and EEPROM contents of AVR microcontrollers using the in-system programming technique (ISP)


The .INO is actually C language, if I am not mistaken.
Hope this helps.
Post 24 Jan 2021, 16:53
View user's profile Send private message Visit poster's website Reply with quote
bitshifter



Joined: 04 Dec 2007
Posts: 786
Location: Massachusetts, USA
bitshifter
you can use IDE without importing any bloated lib code by
creating empty .ino file and add .c file to project with main()

_________________
Coding a 3D game engine with fasm is like trying to eat an elephant,
you just have to keep focused and take it one 'byte' at a time.
Post 16 Feb 2021, 09:53
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 18221
Location: In your JS exploiting you and your system
revolution
FlierMate wrote:
You can use Arduino IDE.
bitshifter wrote:
you can use IDE
Somehow I think the OP is looking for a different answer. Wink
connor wrote:
without the use if that shitty shit shit IDE
Post 16 Feb 2021, 10:05
View user's profile Send private message Visit poster's website Reply with quote
bitshifter



Joined: 04 Dec 2007
Posts: 786
Location: Massachusetts, USA
bitshifter
you can use the bare avr8-gnu toolchain to build hex file
and avrdude to flash the hex file
check avrdude docs or source for protocol, there are many
avr chip needs to have bootloader to support serial programming

_________________
Coding a 3D game engine with fasm is like trying to eat an elephant,
you just have to keep focused and take it one 'byte' at a time.
Post 17 Feb 2021, 16:25
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.

Website powered by rwasa.