View previous topic :: View next topic |
Author |
Message |
quick09
Joined: 03 Jun 2008 Posts: 4
|
Posted: Thu Apr 28, 2022 3:52 pm Post subject: ERROR on ERAM Write |
|
|
Hi,
Due to my old program doesn't work anymore and I tested ERAM writing function with simple codes as under.
Please let me know if I need to do some more to make it work.
Code: |
$regfile = "m128def.dat" ' specify the used micro
$crystal = 16000000 ' used crystal frequency
$baud = 115200
$hwstack = 128
$swstack = 128
$framesize = 64
Dim a as ERAM byte
Dim b as ERAM word
Dim str1 as ERAM string*20
DIM Temp_String as string *20
'Testing Writing Vars
A=1
B=2
Temp_String ="Hello"
str1 =Temp_String
str1="Hello"
str1="H"
End
|
I tested it on Simulator and the variables A and B did update properly but, String STR1 didn't be updated on ERAM.
Please help..
Thanks
(BASCOM-AVR version : 2.0.8.5 ) |
|
Back to top |
|
|
albertsm
Joined: 09 Apr 2004 Posts: 5913 Location: Holland
|
Posted: Fri Apr 29, 2022 8:19 am Post subject: |
|
|
You can download an update for the setup from register.
After the initial release there was an update to fix some bugs.
Or contact support. _________________ Mark |
|
Back to top |
|
|
quick09
Joined: 03 Jun 2008 Posts: 4
|
Posted: Mon May 02, 2022 2:36 am Post subject: |
|
|
albertsm wrote: | You can download an update for the setup from register.
After the initial release there was an update to fix some bugs.
Or contact support. |
I don't know if there is any update for 2.0.8.5 version.
And as for the example code, I can't have proper data of STR1.
I guess that there is a bug to write string data into ERAM.
Thanks
Ian |
|
Back to top |
|
|
albertsm
Joined: 09 Apr 2004 Posts: 5913 Location: Holland
|
Posted: Sun May 22, 2022 1:29 pm Post subject: |
|
|
you can write to support. one user contacted me but the mail bounced.
i prefer to keep compiler/add on updates in sync. otherwise i would publish this change. _________________ Mark |
|
Back to top |
|
|
jboavida
Joined: 12 Feb 2005 Posts: 94 Location: Portugal
|
Posted: Wed Sep 14, 2022 7:25 pm Post subject: |
|
|
Hello,
I have the same problem.
One of my applications that was working for more than 10 years stopped after recompile with 2.0.8.5.00. No change after update to 2.0.8.5.004
When I try to update there is no new version available.
I'm using Atmega328PB
Update: Compiled with 2.0.8.4 worked as expected, so problem solved for now.
Thanks in advance
Joaquim |
|
Back to top |
|
|
BorisS
Joined: 29 May 2014 Posts: 13 Location: Ljubljana
|
Posted: Fri Jan 20, 2023 8:24 pm Post subject: |
|
|
Hello
He has one big problem. I was working with version 2.0.8.2, after which the first time I used the LCD 20x4 I2C version did not work (probably some bug). It reports an error when translating.
I upgraded the version to 2.0.8.5 and now the LCD works and writing characters to ERAM does not work. Nothing happens after entering ERAM.
Im asking for help.
Boris |
|
Back to top |
|
|
albertsm
Joined: 09 Apr 2004 Posts: 5913 Location: Holland
|
Posted: Mon Jan 23, 2023 10:19 am Post subject: |
|
|
the register contains a patch/update for this. it is an updated version of the compiler for 2085 that addresses this problem. it should be installed after the normal installation. _________________ Mark |
|
Back to top |
|
|
|