Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

Search found 485 matches
www.mcselec.com Forum Index
Author Message
  Topic: MCS Bootloader for XMEGA 32E5 not uploading flash program
enniom

Replies: 44
Views: 1566

PostForum: BASCOM-AVR   Posted: Thu Jul 29, 2021 12:19 am   Subject: MCS Bootloader for XMEGA 32E5 not uploading flash program
.
Andro and Mark,

Looking at the output, it does seem as if the Bootloader is responding:
Loader returned: 123

Therefore it seems, this code is executed correctly:
Print #1 , Chr( ...
  Topic: MCS Bootloader for XMEGA 32E5 not uploading flash program
enniom

Replies: 44
Views: 1566

PostForum: BASCOM-AVR   Posted: Tue Jul 27, 2021 1:28 am   Subject: MCS Bootloader for XMEGA 32E5 not uploading flash program
.
Have you tried changing the fuse from:

BOOTRST = APPLICATION

to


BOOTRST = BOOTLOADER


??
E
  Topic: MCS Bootloader for XMEGA 32E5 not uploading flash program
enniom

Replies: 44
Views: 1566

PostForum: BASCOM-AVR   Posted: Sun Jul 18, 2021 10:16 pm   Subject: MCS Bootloader for XMEGA 32E5 not uploading flash program
Also, you can try 2.8.0.3 to isolate if it is the upgrade causing the problem.

E
  Topic: MCS Bootloader for XMEGA 32E5 not uploading flash program
enniom

Replies: 44
Views: 1566

PostForum: BASCOM-AVR   Posted: Sun Jul 18, 2021 10:09 pm   Subject: MCS Bootloader for XMEGA 32E5 not uploading flash program
.
The only difference I see is that I used a different timeout to make it work with 2.8.0.3:

$Timeout = 16000000


I'm sure you checked it - but be sure no other software is occupying the COM p ...
  Topic: MCS Bootloader for XMEGA 32E5 not uploading flash program
enniom

Replies: 44
Views: 1566

PostForum: BASCOM-AVR   Posted: Sun Jul 18, 2021 5:43 pm   Subject: MCS Bootloader for XMEGA 32E5 not uploading flash program
.
The modifications described in Mark's post above work perfectly.


' Spmcrval = &H20 : Gosub Do_spm ' erase all app pages
'^^^^^^^ THIS LINE REMARKED

'AN ...
  Topic: PWM channel
enniom

Replies: 4
Views: 199

PostForum: BASCOM-AVR   Posted: Wed Jun 23, 2021 5:49 pm   Subject: PWM channel
.
This is also easy to check .....

https://www.mcselec.com/userpix/13930_128_1.jpg
  Topic: Modification to the v2.0.8.3 Sample for EDMA RAM Transfer
enniom

Replies: 0
Views: 152

PostForum: Share your working BASCOM-AVR code here   Posted: Sun May 23, 2021 11:27 am   Subject: Modification to the v2.0.8.3 Sample for EDMA RAM Transfer
The sample provided needs to be modified by changing the Channel Mode in order for it work properly.

This is the original sample code:
'------------------------------------------------------------ ...
  Topic: Help with XTEA Encoding of an Array
enniom

Replies: 4
Views: 198

PostForum: BASCOM-AVR   Posted: Sat May 22, 2021 3:52 pm   Subject: Help with XTEA Encoding of an Array
Thanks Adrian.

I briefly looked at the XTEA LIB - but it looks as if Mark's genius is at work here. Memcopy works well.

Next I'll test EDMA memory transfer to see if it can be done during a p ...
  Topic: Help with XTEA Encoding of an Array
enniom

Replies: 4
Views: 198

PostForum: BASCOM-AVR   Posted: Fri May 21, 2021 4:32 pm   Subject: Help with XTEA Encoding of an Array
Thanks laborratte for the answer. Will use this approach for now.

Since this is a 2032 coin cell application (with about 200 mAh useable), every awake mSec consumes mAmps. The goal is not to cons ...
  Topic: Help with XTEA Encoding of an Array
enniom

Replies: 4
Views: 198

PostForum: BASCOM-AVR   Posted: Fri May 21, 2021 1:38 pm   Subject: Help with XTEA Encoding of an Array
Dear Forum Members,

XTEA encoding of a message is being considered for an application in development. The message is 16 bytes long and with each update, only 1-4 of the 16 bytes need to be changed ...
  Topic: Experiment with i2c Multibus and SSD1306 OLED
enniom

Replies: 13
Views: 433

PostForum: BASCOM-AVR   Posted: Sun Apr 25, 2021 5:05 pm   Subject: Experiment with i2c Multibus and SSD1306 OLED
I2C address or CS (chip select)?

E
  Topic: Problem with Single variable
enniom

Replies: 17
Views: 570

PostForum: BASCOM-AVR   Posted: Sat Apr 24, 2021 3:30 pm   Subject: Problem with Single variable
Somehow NASA sent Apollo 11 to the moon and back using 16 bit, 2MHz, and 2K RAM.

It appears the user is more important than bits?

E
  Topic: Problem with Single variable
enniom

Replies: 17
Views: 570

PostForum: BASCOM-AVR   Posted: Fri Apr 23, 2021 4:57 pm   Subject: Problem with Single variable
My Lord,

A Kumbaya moment to be memorialized in the annals of the BASCOM Forum.

E
  Topic: GetADC Conversion time on mega328
enniom

Replies: 13
Views: 756

PostForum: BASCOM-AVR   Posted: Fri Mar 19, 2021 3:14 am   Subject: GetADC Conversion time on mega328
Hello jboavida

Don't you think it would be appropriate to post the final solution example after so many people spent their time to help you find a solution?
  Topic: Simulating XMEGA ADC
enniom

Replies: 4
Views: 300

PostForum: BASCOM-AVR   Posted: Sat Feb 27, 2021 2:44 pm   Subject: Simulating XMEGA ADC
Which input is the simulator expecting versus the code?
 
Page 1 of 33 Goto page 1, 2, 3 ... 31, 32, 33  Next
All times are GMT + 1 Hour
Jump to: