Would you like to react to this message? Create an account in a few clicks or log in to continue.

You are not connected. Please login or register

Test of package pic16f1826 failed with following source code

2 posters

Go to page : Previous  1, 2, 3

Go down  Message [Page 3 of 3]

Olaf



Good morning Archacofo,
First thanks tausend times for Tour Support.

I've tried Compiler settings in simulide
It works great.
On device option i inserd only: 16f1826 
Unstead : pic16f1826 
But i found this on the Compiler Feedback

Now i will tell about my new wish.

At school actually we operate on Pic 16f1826 using 3.3V Power.
Now there are 2 didaktic requirements.
First: Is there possibile implement a power Option that Changes 
between 3.3 and 5 Volts.
Second: In the circuit figures 2 Blue Pins, we need 
a figure makes possibile connect this Blue Pins in circuit
with Fix Power elements like 3.3V and 0V.
This interesting to show the students the similitude to
real circuits, where they have to connect Power supply.


I hob not asking to much. We are trying to implement Simulide 
generaly in all school years off electronic. 
Further i will ASK you about the status off implementation
 in ADC modul because off other classes.
I know that you normaly working on other, so there is enough
going step by step where ever you found sometime to look on It.


Thanks 
And best regards
Olaf

arcachofo

arcachofo

First: Is there possibile implement a power Option that Changes
between 3.3 and 5 Volts.
Something like this is planned, but it is not that easy, this should work for everything: output and input voltages, ADC, DAC, Vref, etc.
And this should be done for all Microcontrollers.

Second: In the circuit figures 2 Blue Pins, we need
a figure makes possibile connect this Blue Pins in circuit
with Fix Power elements like 3.3V and 0V.
This interesting to show the students the similitude to
real circuits, where they have to connect Power supply.
Yo can make these pin active if you want, but It can be confusing because if you can connect power pins then everything should work accordingly, including all mentioned above plus:
- What happens if you only connect Vdd?
- What happens if the voltage is too low or too high and which are these limits?
- What happens if you connect a power pin through an 1 MOhm resistor ?
- What happens if you connect Vss to a 2V source instead of GND?
- Etc.

Further i will ASK you about the status off implementation
in ADC modul because off other classes.
As far as I know ADC should be working.

53Test of package pic16f1826 failed with following source code - Page 3 Empty Thank you for all correct answers Wed Dec 20, 2023 4:43 pm

Olaf



Thank you for all correct answers.

54Test of package pic16f1826 failed with following source code - Page 3 Empty Problems on networkinstallation Wed Dec 20, 2023 6:59 pm

Olaf



Dear Archachofo,

I've Problems with my Network Administrator.
My Student cannot achieve to DOS console under Windows.
On stand alone machine theres no Problem compile and debug from simulide.
But from network account there are Problems found the .inc file and the .lkr file.
So i tried with console likes here follow

H:\>cd desktop\dac  Razz


H:\Desktop\Dac>Path=C:\sdcc\bin;C:\gputils\bin;C:\SDCC\non-free\include\pic14;
p16f1826.inc in den Ordner der Datei dac.c kopieren! 


After then Here complet comandline:


H:\Desktop\Dac>sdcc --use-non-free Dac.c -mpic14 -p16f1826 -Wl 16f1826_g.lkr 

Is Theres a way to setting simulide found the .Inc and the .lkr file.

The meaning Is that student can comipling and linking without other applicazioni.

Sorry about my Ignorance.

Best regards
Olaf

arcachofo

arcachofo

Hi.
I don't understand what you are doing, but you probably need to create a compiler file specific for your case.
Have a look here to have an idea:
https://simulide.com/p/compiler/

Specially here:
https://simulide.com/p/compiler/#adding-compilers

56Test of package pic16f1826 failed with following source code - Page 3 Empty Thanks this exactly what im searching for Sat Dec 23, 2023 3:25 pm

Olaf



Thanks this exactly what im searching for.

This works great.

Have a noice merry Christmas

Olaf

arcachofo

arcachofo

Nice that you got it working.

Sponsored content



Back to top  Message [Page 3 of 3]

Go to page : Previous  1, 2, 3

Permissions in this forum:
You cannot reply to topics in this forum