View previous topic :: View next topic |
Author |
Message |
rrioja
Joined: 05 Jun 2006 Posts: 43 Location: GA, USA
|
Posted: Fri Mar 31, 2017 7:50 pm Post subject: View Pinout not working |
|
|
I am using Bascom 2.0.8.0 and I am having a problem. When I click on View, and then Pin Layout, nothing happens. How do I get the Pin Out Viewer to appear?
Thank you,
Robert
(BASCOM-AVR version : 2.0.8.0 , Latest : 2.0.7.8 ) |
|
Back to top |
|
|
albertsm
Joined: 09 Apr 2004 Posts: 5913 Location: Holland
|
Posted: Fri Mar 31, 2017 7:54 pm Post subject: |
|
|
your code need to contain the $regfile directive.
And the value need to be of an existing dat file.
for example : $regfile = "m128def.DAT" _________________ Mark |
|
Back to top |
|
|
albertsm
Joined: 09 Apr 2004 Posts: 5913 Location: Holland
|
Posted: Fri Mar 31, 2017 8:13 pm Post subject: |
|
|
rrioja, please fix your email address of your forum account. _________________ Mark |
|
Back to top |
|
|
rrioja
Joined: 05 Jun 2006 Posts: 43 Location: GA, USA
|
Posted: Fri Mar 31, 2017 9:29 pm Post subject: |
|
|
Marc
I am using the sample programs from the Samples folder. All programs have the correct $regfile statement, and the PDF viewer works correctly. I noticed that the dat files have a line like "pdf=atmega128.pdf". Should there be a line that specifies the xml file?
Robert |
|
Back to top |
|
|
albertsm
Joined: 09 Apr 2004 Posts: 5913 Location: Holland
|
Posted: Sat Apr 01, 2017 10:01 am Post subject: |
|
|
no there is no need for that.
You best give a short example piece of code that does not work.
Then, also check the PINOUT sub folder. It should contain XML files and pin maps.
I assume you have View, Pin Layout activated? _________________ Mark |
|
Back to top |
|
|
rrioja
Joined: 05 Jun 2006 Posts: 43 Location: GA, USA
|
Posted: Sat Apr 01, 2017 11:56 pm Post subject: |
|
|
Like I said, I am using sample programs from the Samples folder, for example m128.bas which has $regfile = "m128def.dat".
The BASCOM-AVR folder has the m128def.dat file and the PinOut folder has the files ATmega128RFA1-QFN64.xml and ATmega128-TQFP64.xml. It also has tqfp64.map and tqfp64.png.
What do you mean by "I assume you have View, Pin Layout activated?". I don't see anything in the manual about activating it.
Robert |
|
Back to top |
|
|
Evert :-)
Joined: 18 Feb 2005 Posts: 2156
|
Posted: Sun Apr 02, 2017 2:21 pm Post subject: |
|
|
Delete after backing it up; c:\Users\YourName\AppData\Roaming\MCS Electronics\bascom-avr.xml to see if the chip view is back. This restore the ide to default settings. _________________ www.evertdekker.com Bascom code vault |
|
Back to top |
|
|
albertsm
Joined: 09 Apr 2004 Posts: 5913 Location: Holland
|
Posted: Sun Apr 02, 2017 3:32 pm Post subject: |
|
|
maybe you can post a screen shot of the IDE ? _________________ Mark |
|
Back to top |
|
|
rrioja
Joined: 05 Jun 2006 Posts: 43 Location: GA, USA
|
Posted: Sun Apr 02, 2017 7:41 pm Post subject: |
|
|
I renamed bascom-avr.xml to something else, and restarted the program. This solved the problem, and I noticed that a new bascom-avr.xml had been created. Now everything is working well.
Thank you all for your help.
Are there any thoughts on the Microchip acquisition of Atmel? I noticed that the Atmel website now has many broken links.
Off and on, I have been using Bascom-AVR for 10 years. It has been one of the best investments ever, and the support and dedication has been exemplary.
Robert |
|
Back to top |
|
|
albertsm
Joined: 09 Apr 2004 Posts: 5913 Location: Holland
|
Posted: Sun Apr 02, 2017 8:09 pm Post subject: |
|
|
good that it worked. maybe you can send the non working xml file to support ? (zipped).
There is no setting that disables the pin out viewer so i am curious to see what the problem was/
microchip/atmel has just launched a new AVR line. I ordered a board to have a look at it. all new hardware.
My guess is that they keep selling AVR, why shouldnt they? Broken links you can report. I guess they are working on integration. _________________ Mark |
|
Back to top |
|
|
|