Author |
Message |
Topic: Bootloader |
AdrianJ
Replies: 46
Views: 6062
|
Forum: BASCOM-AVR Posted: Mon Sep 23, 2019 11:52 pm Subject: Bootloader |
@MWS
I will let the OP decide whether what I suggested is useful for what he wants to do. |
Topic: Bootloader |
AdrianJ
Replies: 46
Views: 6062
|
Forum: BASCOM-AVR Posted: Mon Sep 23, 2019 12:09 am Subject: Bootloader |
Maybe your type of product is different from mine.
We have to do a complex series of tests to ensure all parts of the system works, its nowhere near good enough to just power up and check that it ... |
Topic: Bootloader |
AdrianJ
Replies: 46
Views: 6062
|
Forum: BASCOM-AVR Posted: Sun Sep 22, 2019 5:15 am Subject: Bootloader |
I never used the Bascom bootloader.
But my policy with bootloaders has always been to just set the fuses, then program only a bootloader. Then use the bootloader to program main code as a separa ... |
Topic: INCREASING SRAM 4MBITS TO SRAM 20MBYTES |
AdrianJ
Replies: 17
Views: 1797
|
Forum: BASCOM-AVR Posted: Fri Aug 30, 2019 12:09 am Subject: INCREASING SRAM 4MBITS TO SRAM 20MBYTES |
MP3 compression is probably about as good as you can get. Many people worked very hard to get this right. If better was possible, I am sure they would have done it. I never implemented MP3 on an At ... |
Topic: INCREASING SRAM 4MBITS TO SRAM 20MBYTES |
AdrianJ
Replies: 17
Views: 1797
|
Forum: BASCOM-AVR Posted: Thu Aug 29, 2019 3:47 am Subject: INCREASING SRAM 4MBITS TO SRAM 20MBYTES |
If sound recording is what you want, then there are already many compression schemes. eg MP3. Just pick one you like, and write it in Bascom / ASM |
Topic: SD read/write error |
AdrianJ
Replies: 3
Views: 329
|
Forum: BASCOM-AVR Posted: Wed Jul 24, 2019 12:40 am Subject: SD read/write error |
Hi Neil,
My memory of all the steps needed to get an SD card going are long gone. And in any case I used them in simple SPI mode, so all those advanced access settings are different.
The repeate ... |
Topic: SD read/write error |
AdrianJ
Replies: 3
Views: 329
|
Forum: BASCOM-AVR Posted: Tue Jul 23, 2019 11:26 pm Subject: SD read/write error |
Reaching back into dark history...
I too had rare problems getting SD cards to respond. Maybe not the same failure, but effectively preventing access. My solution at the time was to use a card su ... |
Topic: Corrupted Bootloader when programming ATmega328p |
AdrianJ
Replies: 6
Views: 639
|
Forum: BASCOM-AVR Posted: Tue Jul 02, 2019 6:30 am Subject: Corrupted Bootloader when programming ATmega328p |
But you can still program the lock bit which disables writing to the bootloader - as long as you are sure the bootloader works ! That does not stop you from loading new application code.
I serious ... |
Topic: Corrupted Bootloader when programming ATmega328p |
AdrianJ
Replies: 6
Views: 639
|
Forum: BASCOM-AVR Posted: Mon Jul 01, 2019 11:21 pm Subject: Corrupted Bootloader when programming ATmega328p |
I would doubt its a bad USB contact, USB has a lot of built-in error checking that should at the very least just fail, not receive bad data. But apart from that, it only takes one corrupted address t ... |
Topic: Corrupted Bootloader when programming ATmega328p |
AdrianJ
Replies: 6
Views: 639
|
Forum: BASCOM-AVR Posted: Sun Jun 30, 2019 11:59 pm Subject: Corrupted Bootloader when programming ATmega328p |
Could be many causes, but a possible protection is program the bootloader, then set the fuses so that writing into the bootloader area is disabled. |
Topic: OTA with Bascom |
AdrianJ
Replies: 14
Views: 2051
|
Forum: BASCOM-AVR Posted: Tue May 14, 2019 12:56 am Subject: OTA with Bascom |
I think that for any firmware that needs remote upgrades, just add a micro-SD card, even permanently mounted inside. Gives you essentially unlimited scope for upgrades and reversions for very little ... |
Topic: Memory overflow |
AdrianJ
Replies: 6
Views: 610
|
Forum: BASCOM-AVR Posted: Sat May 11, 2019 12:31 am Subject: Memory overflow |
You will get compiler errors if you just attempt to do something like
v1 = 300
v3 = "a123456789bcdef"
The first will cause error 49 - "Variable does not fit into byte"
the second ... |
Topic: Print Array |
AdrianJ
Replies: 8
Views: 665
|
Forum: BASCOM-AVR Posted: Sun Apr 28, 2019 3:46 am Subject: Print Array |
So what is wrong with ?
a = 8
for i = 1 to a
Printbin # 3, 4d_string_tx_arr (1)
next
|
Topic: Picture Rotate |
AdrianJ
Replies: 18
Views: 1436
|
Forum: BASCOM-AVR Posted: Sat Apr 13, 2019 5:08 am Subject: Picture Rotate |
I know it would be better to write an APP for a Smatphone.
But a Smartphone with his Blutooth dont have the ability of a 433Mhz RF Module.
I think you misunderstand what I mean.
By all means ... |
Topic: Picture Rotate |
AdrianJ
Replies: 18
Views: 1436
|
Forum: BASCOM-AVR Posted: Thu Apr 11, 2019 11:59 pm Subject: Picture Rotate |
I think in the Help for LCDAT you will find that that construction does not exist.
I wrote something slightly similar for the SED122*32 display, but allowing to swap the image either left-to-righ ... |
|