View previous topic :: View next topic |
Author |
Message |
aphawk
Joined: 23 Jan 2010 Posts: 168 Location: Brazil
|
Posted: Mon Feb 07, 2022 1:54 am Post subject: Proteus don't show all variables |
|
|
I'm using Proteus 8.13 SP0 to simulate my projects.
When simulating one Bascom compiled program, the windows VARIABLES don't show all variables, and neither show no one LOCAL variables in my subroutines.
Maybe problem with AVR Studio compilation ?
Paulo
(BASCOM-AVR version : 2.0.8.5 ) |
|
Back to top |
|
|
MWS
Joined: 22 Aug 2009 Posts: 2262
|
Posted: Mon Feb 07, 2022 11:35 am Post subject: Re: Proteus don't show all variables |
|
|
aphawk wrote: | I'm using Proteus 8.13 SP0 to simulate my projects. |
A several thousand USD software for hobby purposes.
Quote: | When simulating one Bascom compiled program, the windows VARIABLES don't show all variables, and neither show no one LOCAL variables in my subroutines. |
Maybe a cracked version lacks features? If it's a legitimate version, what did the support at Labcenter.com respond?
Quote: | Maybe problem with AVR Studio compilation ? |
How does AVR-Studio fit in here?
You wrote it was compiled with Bascom. |
|
Back to top |
|
|
aphawk
Joined: 23 Jan 2010 Posts: 168 Location: Brazil
|
Posted: Mon Feb 07, 2022 2:34 pm Post subject: |
|
|
Hi MWS,
Wow ..... Are you with stones in hands ?
If you remember, I told you in the past that I have oficial Proteus licence for educational purposes, as a teacher.
The same applies to Bascom, is official, with USB Add-on.
But my Proteus version is old, and donīt support the hardware that Iīm using in this project.
Your comment about "many thousands dollars for hobby purpose" is the fact that makes less people ask for support here.
You like to be an acid people. And for nothing ! I donīt offend you, Iīm only ask for help in one question!
You donīt know me to make this kind of assumption.
I donīt use Proteus and Bascom for hobby purposes; like many in this Forum Iīm a old engineer, and use Bascom in many projects.
I download this version of Proteus for test, to see if the upgrade fee is worthy, and for my surprise had some problems with variables not showing.
In the Proteus website, BASCOM AVR continue having support. That was the reason that I asked about variables problem here.
I remember in the past I had one problem with Proteus, and you (or the staff) resolved it. Sorry, I donīt remember the date from this.
If you donīt know nothing about this problem with BASCOM last version and Proteus last version, sorry to annoy you.
I will try Labcenter.
Thanks for the stones, and I really expect that you have more respect with us, if not possible as a ordinary people, at least as your clients.
Paulo |
|
Back to top |
|
|
MWS
Joined: 22 Aug 2009 Posts: 2262
|
Posted: Mon Feb 07, 2022 4:03 pm Post subject: |
|
|
aphawk wrote: | Wow ..... Are you with stones in hands ? |
No, just frank.
Quote: | If you remember, I told you in the past that I have oficial Proteus licence for educational purposes, as a teacher. |
I do not remember.
Quote: | But my Proteus version is old, and donīt support the hardware that Iīm using in this project. |
That's at least some new information.
Quote: | Your comment about "many thousands dollars for hobby purpose" is the fact that makes less people ask for support here. |
You can bet that much more support requests would show up, if this forum would not be restricted to legal users of Bascom.
Want more traffic? Ask Mark to let everyone in.
Quote: | You like to be an acid people. And for nothing ! I donīt offend you, Iīm only ask for help in one question! |
Calm down, I still gave you the benefit of the doubt.
Quote: | You donīt know me to make this kind of assumption. |
I know the Internet and lots of crakk-offers popped up while searching for 'Proteus 8.13 SP0', besides 8.13 seems fairly new.
Quote: | I download this version of Proteus for test, to see if the upgrade fee is worthy, and for my surprise had some problems with variables not showing. |
As you was already going nuclear, I just don't dare to refer to Proteus' test version capabilities:
Quote: | You can only print Schematics and Layouts from the sample designs.
You cannot save your work.
You cannot simulate your own microcontroller designs. |
How would you find out about simulation problems, if you can not simulate your own designs?
Quote: | I remember in the past I had one problem with Proteus, and you (or the staff) resolved it. |
Neither I belong to the staff, nor to MCS.
Quote: | sorry to annoy you. |
You did not annoy me, you only made me ask questions which you did not want to hear.
Quote: | Thanks for the stones, and I really expect that you have more respect with us, if not possible as a ordinary people, at least as your clients. |
Again: I am not the owner, nor are you my clients, I am a user the same as you.
I still do not know, how this relates to AVR Studio. |
|
Back to top |
|
|
aphawk
Joined: 23 Jan 2010 Posts: 168 Location: Brazil
|
Posted: Mon Feb 07, 2022 5:45 pm Post subject: |
|
|
MWS,
Ok, calming down. Sorry for my indignation. I forgot that you arenīt member of staff.
Sure that I know that the DEMO version donīt let me simulate my design. But I donīt want to expend more than US$ 1.600 with an version upgrade without see if there is plenty compatibility between Bascom and Proteus. The ONLY way to test is downloading some cracked version, and this was what I made. But the same problem happened with version 8.10 SP0, what made me confuse about where is the problem.
Iīm thinking about to buy the Bascom Add-on for the new processors too, and this is why Iīm testing Proteus AND Bascom to see how both are "talking".
I had a very good interaction in my projects using Bascom to program and Proteus to debug all project. This permits me complete the project in a very short time.
Iīm a Radio Amateur too, and I have one smart antena rotor control with many features that no one other have yet. And a smart Antena Band switch that talks with my Rotor control AND with my radio.
Both was made with Bascom/Proteus, with more than 2000 lines of code each and a lot of Asm code too.
My simulation file is very realistic, talking with real hardware using Proteus Virtual Serial Ports, and this help me a lot to debug all project.
I asked about something with AVR Studio because I think that the Bascom output files need to follow some guidance to be compatible with Proteus.
If the upgrade fee was small, I donīt have posted this problem with variables, just buy the upgrade....
Maybe other user had the legal Proteus release 8.13 at least and report if there are the same problem I noted ?
Thanks.
Paulo |
|
Back to top |
|
|
MWS
Joined: 22 Aug 2009 Posts: 2262
|
Posted: Mon Feb 07, 2022 6:17 pm Post subject: |
|
|
aphawk,
aphawk wrote: | I asked about something with AVR Studio because I think that the Bascom output files need to follow some guidance to be compatible with Proteus. |
my experiences so far with the newest Microchip-Studio:
Paths need to be without special chars, otherwise Microchip Studio goes nuts.
Vars, global or local, were never possible to look up directly, nor was it possible to put them to watch, same in Atmel Studio as in the new Microchip Studio.
I had to look up the variable's location within Bascom's Report and check this position within a memory window of Studio. A bit clumsy, but one gets used to it.
Till now I did not find out how to open .hex-files within Microchip Studio to disassemble and simulate it.
As workaround I use to open it in AS 4.0, create a project and then import this project into Microchip Studio.
That's it so far, sound like Proteus translated the .obj-files already more in detail than Atmel/Microchip Studio did or does. |
|
Back to top |
|
|
aphawk
Joined: 23 Jan 2010 Posts: 168 Location: Brazil
|
Posted: Mon Feb 07, 2022 7:09 pm Post subject: |
|
|
MWS,
Thanks a lot for your help.
I will try downgrade my Proteus to one version that I worked a lot with Bascom 2.82 , and all where functional, showing all variables in simulation.
Will downgrade too Bascom to 2.82, and made upgrades , first with Proteus, then with Bascom, until this problem with variables happens again.
I'll post the results here.
Paulo |
|
Back to top |
|
|
SZTRAD
Joined: 30 Dec 2019 Posts: 165
|
Posted: Mon Feb 07, 2022 7:40 pm Post subject: |
|
|
To MWS
Quote: | Till now I did not find out how to open .hex-files within Microchip Studio to disassemble and simulate it. |
Tools/Device programing
in the opened window under Tool select the simulator, under Device the desired chip
Apply
In the window extension select Production file
write the path to the .hex file in flash and save
the .elf file will be created
Close
File/open/open object file .........
Select the path to the .elf file
Next
Select chip
Finish
Debug/start......
In Tool /selected debuger/programmer select simulator
Debug/start....
I think you'll get the idea and no pictures are needed.
RS
[/img] |
|
Back to top |
|
|
MWS
Joined: 22 Aug 2009 Posts: 2262
|
Posted: Mon Feb 07, 2022 8:51 pm Post subject: |
|
|
aphawk,
aphawk wrote: | Thanks a lot for your help. |
as far as I was able to be of help
Quote: | I'll post the results here. |
Ok, I'm curious. |
|
Back to top |
|
|
MWS
Joined: 22 Aug 2009 Posts: 2262
|
Posted: Mon Feb 07, 2022 8:55 pm Post subject: |
|
|
SZTRAD,
SZTRAD wrote: | To MWS
Tools/Device programing
...
Debug/start....
|
Thank you.
Would not have expected this in the device programmers dialog, but it's logical as soon one understands the simulator as a virtual micro controller.
Quote: | I think you'll get the idea and no pictures are needed. |
Got it. |
|
Back to top |
|
|
SZTRAD
Joined: 30 Dec 2019 Posts: 165
|
Posted: Tue Feb 08, 2022 4:39 am Post subject: |
|
|
No need to thank me, that's what the forum is for.
RS |
|
Back to top |
|
|
MWS
Joined: 22 Aug 2009 Posts: 2262
|
Posted: Tue Feb 08, 2022 10:14 am Post subject: |
|
|
SZTRAD wrote: | No need to thank me, that's what the forum is for. |
You won't mind, if I have a different view.
A forum's primary purpose is allow people to meet and discuss, everything more than this standard can not be expected.
If you give valuable information to me, or if you spend your time by taking care of my issues, then this is beyond expectation and on my turn to thank you. |
|
Back to top |
|
|
SZTRAD
Joined: 30 Dec 2019 Posts: 165
|
Posted: Tue Feb 08, 2022 10:40 am Post subject: |
|
|
Ok
Well, you and I are having trouble agreeing.
It might be worth giving it a solo thread. No one's gonna find it here if they need it.
Can I ask you to do that? You know how I am with English.
thank you.
RS |
|
Back to top |
|
|
MWS
Joined: 22 Aug 2009 Posts: 2262
|
Posted: Tue Feb 08, 2022 12:14 pm Post subject: |
|
|
SZTRAD wrote: | Well, you and I are having trouble agreeing. |
I do not think it makes sense to discuss different basic attitudes of different members.
If you have five people you also have five attitudes, each one not agreeing with the other.
A discussion about this topic would only lead to the agreement not to agree.
Quote: | You know how I am with English. |
For this I would recommend https://www.deepl.com, which does very good translations.
Check if your language is supported and do a forth- from, and back-translation into your language to see if you find it useful. |
|
Back to top |
|
|
SZTRAD
Joined: 30 Dec 2019 Posts: 165
|
Posted: Tue Feb 08, 2022 12:59 pm Post subject: |
|
|
I do.
I even translate it in deepl and cross back to google. Czech is an interesting and flowery language so translators have a problem with it. Especially the technical stuff is a problem. That's why I have interpreters travel abroad with me. Now he won't have to but that's another thing.
Polish is better but I have a problem with the keyboard. I'm hunting for special characters so it's all for a long time. I don't want two keyboards on my desk.
I use.
I even translate it in deepl and cross back to google. Czech is an interesting and flowery language, so translators have a problem with it. Technical issues in particular are a problem. That's why I have translators going abroad with me. Now they won't have to, but that's another matter.
Polish is better, but I have a problem with the keyboard. I hunt for special characters, so it's all for a long time. I don't want to have two keyboards on my desk.
Both translated by deepl. Just a small change in terminology and it completely changes the meaning
The first is a translation from the Czech the second from the Polish. But I don't think that belongs here anymore.
RS |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum
|
|