View previous topic :: View next topic |
Author |
Message |
straton
Joined: 15 Apr 2014 Posts: 4
|
Posted: Tue Apr 15, 2014 10:31 pm Post subject: c8051f350.dat support??? |
|
|
Just downloaded the demo version of bascom to try programming the silabs analog c8051f350 MCU that I 've gotten from ebay at unbelievable low price! These are almost for free! but there is no .dat file! would anyone care to help me of how to construct a .dat file? or maybe share that file? |
|
Back to top |
|
|
bzijlstra
Joined: 30 Dec 2004 Posts: 1179 Location: Tilburg - Netherlands
|
Posted: Wed Apr 16, 2014 5:32 am Post subject: w7100.dat |
|
|
Perhaps you can have a look at the .DAT file I made for the W7100.
You might get some tips about bit and byte addressing.
Do a search for W7100 on my homepage.
Pick as a starting point a .DAT file that is close to your processor.
Have fun
Ben Zijlstra |
|
Back to top |
|
|
straton
Joined: 15 Apr 2014 Posts: 4
|
Posted: Wed Apr 16, 2014 9:55 am Post subject: |
|
|
I just took l look at your w7100. Thanks! 0,8 is a bit, rest byte but what is the number after the comma in the .dat file? Is it for the emulator so I can leave it blank? |
|
Back to top |
|
|
bzijlstra
Joined: 30 Dec 2004 Posts: 1179 Location: Tilburg - Netherlands
|
Posted: Wed Apr 16, 2014 10:31 am Post subject: initial value |
|
|
It is the initial value of that register.
have fun
Ben Zijlstra |
|
Back to top |
|
|
straton
Joined: 15 Apr 2014 Posts: 4
|
Posted: Wed Apr 16, 2014 6:15 pm Post subject: |
|
|
There are two values for each line. I can tell the first one is location of the SFR. I am talking about the second value. |
|
Back to top |
|
|
bzijlstra
Joined: 30 Dec 2004 Posts: 1179 Location: Tilburg - Netherlands
|
Posted: Wed Apr 16, 2014 6:36 pm Post subject: |
|
|
The first is indeed the SFR, and after that the value that is stored in the SFR.
Have fun
Ben Zijlstra |
|
Back to top |
|
|
straton
Joined: 15 Apr 2014 Posts: 4
|
Posted: Wed Apr 16, 2014 6:47 pm Post subject: |
|
|
I see, so for example I do not have to disable in WDT as you have said, in other posts, If I set it in the .dat file? |
|
Back to top |
|
|
bzijlstra
Joined: 30 Dec 2004 Posts: 1179 Location: Tilburg - Netherlands
|
Posted: Wed Apr 16, 2014 7:05 pm Post subject: try it... |
|
|
Just try it. You can also check the SFR bij reading it's value at the start of your program.
have fun
Ben Zijlstra |
|
Back to top |
|
|
|