nedoPC.org

Community of electronics hobbyists established in 2002
Atom Feed | View unanswered posts | View active topics It is currently 18 Oct 2021 09:17



Reply to topic  [ 59 posts ]  Go to page Previous  1, 2, 3, 4  Next
SimulIDE бесплатный симулятор электроники (PIC, AVR, цифра) 
Author Message
Novelist
User avatar

Joined: 11 Oct 2018 01:52
Posts: 39
Location: г. Клинцы, Брянская обл.
Reply with quote
Только PIC и AVR


08 Apr 2020 07:08
Profile
Novelist
User avatar

Joined: 11 Oct 2018 01:52
Posts: 39
Location: г. Клинцы, Брянская обл.
Reply with quote
Всем доброго времени суток!
Предлагаю немного исправленный русификатор программы SimulIDE 0.3.12-SR8 и измененные файлы помощи.
В нем более корректно переведены некоторые термины и исправлены файлы помощи.

Порядок установки:
Файл simulide_ru.qm из архива скопировать в папку SimulIDE_0.3.12-SR8_Win32\share\simulide\translations\ с заменой.
Папку _ru из архива поместить в папку SimulIDE_0.3.12-SR8_Win32\share\simulide\data\help\ с заменой файлов.

Замечания, пожелания по переводу можно оставить здесь.


Attachments:
ru_ru.zip [34.4 KiB]
Downloaded 201 times
11 Apr 2020 15:07
Profile
Novelist
User avatar

Joined: 11 Oct 2018 01:52
Posts: 39
Location: г. Клинцы, Брянская обл.
Reply with quote
Всем доброго времени суток.
Добавил в топик ссылки на скачивание актуальной публичной версии программы SimulIDE 0.4.13-SR5
 "Список изменений"
simulide 0.4.13
Changes (Internal):
RC1:
- Simulation Initialization changed ( +eElement->attach() ).
- Find connected Pins in eNodes changed.

RC1:
- Dissapear support for toggleSwitch.
- Full Adder carry pins at bottom.
- Led shape to original, but displaced to Cathode.
- Subcircuit default to Logic Symbol.

RC2:
- 100 MHz max. circuit speed.
- Editor: Move "Control Circuit" from Editor to Debugger Properties.

SR5:
- Delete key working again to remove Components.

New Features:
RC1:
- Text Component opacity.
- Text Componext double-click to edit text.
- Allow positioning at 1/2 grid.
- Even smaller gates.
- New Buses: smaller footprint, connectable at both sides, nº Bit.
- 16 bit Encoder/Decoder
- Easier Auto-Connect pins.
- Drag and drop circuit files and open it.

RC2:
- Labels in switches buttons, keyboard accesible.

RC3:
- Multypole Push Switch.
- Circuit Zoom with key sequence: Ctrl+ Ctrl-
- AVR remote debugging.
- Serial Terminal: "Clear" and "CR" buttons.
- Make new Subcircuit pin naming compatible with old circuits.
- New Dialog: create and edit Package Pins
- Create Subcircuit and Package files in one shot.
- Inverted Pin Labels rendered with overline.
- WaveGen: Random waveform.

RC4:
- Serial Monitor: Choose Usart to use.
- I2C module: Master Mode implemented.
- AVR Hardware I2C finally working!!
- Editor: Document reload.

RC5:
- RAM/ROM load-save binary files.
- Buzzer option in Audio Out Component.
- Mcu: auto-load firmware at circuit power on (optional).

RC6:
- Move Settings file to user folder: accessible to Win OS.
- Add Compile date to About Dialog.
- Select Mcu Uart in Serial Port.
- Open several Serial Ports at once.
- PcLink: Auto-Connect Mcu to Serial Port
- Simulation Pause Button.
- SSD1306: Addressing completed, invert Display, Disp. Fully On.
- Relay Impedance and release current properties.

Final:
- Open several Serial Monitors at once.
- Bipolar Stepper Motor.
- Probe: Ternary Logic indicator.
- Probe: Threshold property.
- SSD1306: Basic Hardware Horizontal Scrolling.
- Help files: Russian translation ( Sergey Roenko ).
- Help files: Spanish translation ( Kike_Gl ).
- Help files: Spanish help for 74 Series ( Kike_Gl ).
- PcLink Feature deleted.
- Serial Port: Auto Open property.

SR1:
- Mcu Logic Symbol enabled.
- Some AVR Logic Symbols (Sergey Roenko)
- Mcu Help Files enabled.
- Some AVR Help files (Sergey Roenko)
- Gui French translation (Pascal Cotret)
- Change Language: Circuit->Properties.

SR3:
- Gui Brazilian Portuguese Translation ( Maico Smaniotto ).

SR4:
- Several AVR Logic Symbol Packages (Sergey Roenko).
- Several AVR help files (Sergey Roenko).

Bug Fixes:
RC1:
- Crash hovering some external object over circuit canvas.
- Circuit not updating properly when animated( 0.3.12-SR1 ).
- Changes in Logic Devices properties while simulation running not updated.
- Load Circuit: avoid connect to already connected pins.
- Make 74HC and 74XX interchangeable.
- BJT animation not updated.
- BJT not working in vco example (0.3.12-RC2).
- Fix some memory leaks.
- Plotterwidget wrong scale in some cases.
- 74HC4022 Logic Symbol not working.

RC2:
- Pic asm Compiler: gpasm does not find includes in project folder.
- Time widget scrollBars shown in some systems.

RC3:
- Executable detected as shared lib in some builds.
- Push Switch broken (0.4.13-RC2).
- Keypad broken (0.4.13-RC2).
- debugger broken (0.4.13-RC2).
- AVR timer mode 14: Fast PWM, Top=ICR1, doesn't update in OCRX changes.
- Capacitor and Inductor not ok at simulation > 1MHz (0.4.13-RC2).
- Send Text in Serial monitor limited to 50 characters.
- ATtinyX4 wrong Pin assignation in Timer0,1.
- ATtinyX4 wrong ADC definition.
- Package not initialized if Logic Symbol file not found.
- Package should save file relative path, not absolute.
- Create Subcircuit taking Component Circuit Id instead of unique Id.
- Avoid dash "-" in Subcircuits Pin Ids.
- Avoid save Backup in read only filesystems.
- SR04 not OK at simulation > 1MHz (0.4.13-RC2).
- Clock and WaveGen not OK at simulation > 1MHz (0.4.13-RC2).
- Servo Motor not OK at simulation > 1MHz (0.4.13-RC2).
- Subcircuits fixed (thanks to Sergey Roenko):
74HC42, 74HC74, 74HC75, 74HC151, 74HC155, 74HC192, 74HC93
74HC393, 74HC592, 74HC4017, 74HC4026, 74HC4033

RC4:
- I2C module: wrong output impedance when transmiting.
- Editor: closing unsaved doc + cancel not working.
- Editor: close unsaved doc whith no focus, editor takes the focused one.
- PIC with OSCCAL Reg. not working if call 0x3FF is made.
- Crash: Debug session + Close doc. + RamTable->LoadVAriables.
- Debugger: some operations taking too long in some cases.
- Serial Monitor: some characters missing randomly.
- AVR SPI: MOSI pin should be high when idle.
- Wrong extension Creating subcircuits in some cases.
- Ground not working in Subcircuits.
- Crash creating Subcircuit with 2 Package Pins connected together.
- Subcircuits fixed (Sergey Roenko strikes again)
74HC73, 74HC76, 74HC107, 74HC109, 74HC112,74HC113, 74HC173
74HC175, 74HC259, 74HC279, 74HC373, 74HC374, 74HC375, 74HC377

RC5:
- Crash closing file with debugger when no mcu ( 0.4.13-RC4 ).
- Program hangs removing components in some cases.
- Debugger: Simulation keeps running after Stop when not driving Circuit( 0.4.13-RC4 ).
- PIC: if PIC goes to sleep fail to exit sleep afther reset.
- Crash setting MCU to logic Symbol (No LS available for MCU yet).
- Subcircuit: place inversion sign only after the symbol «!»
- Crash on some actions while creating connector.
- Audio Out wrong at simulation speed > 1e6 (0.4.13-RC2).
- Audio Out latency too high.
- LatchD randomly not properly initialized.
- Drop simu file to canvas should not save state.

RC6:
- Editor: Sintax highlight error parsing some rules.
- MCU: Auto-Load not working in Arduino Boards.
- Crash: Mcu in circuit + Run + delete Mcu + Run;
- Oscope not updating when signal dissapears.
- Relays not working randomly.
- Fixed 74HC194_LS.package (Sergey Roenko)

Final:
- Stepper: bounding box overlaping pins.
- Stepper not updating after change steps number.
- Arduino 1.8.10 issue solved.
- AppImage tries to backup in Readonly FS.
- Some Help Files not Found.
- Help files for each subcircuit not possible.
- Some wrong error strings higlighted in Arduino Compile.
- Memory: Error saving data in read only FS.
- Ram/Rom: Error saving and loading binary files.
- Text Encoding errors.
- Missing file extension filters in Ram/Rom.
- Missing file extension filters in Editor->SaveAs.
- Bad Led visualisation when cpu can not keep speed.
- Atmega 1280,1281, 2560, wrong package file.
- Crash if mcu can't be created + new circuit.
- Pic18F4420 missing data file.
- Servo: Redraw probrems.

SR1:
- Mosfet animation not updating after Power-Off.
- Editor: SaveAs should take current file instead of last file.
- Editor: SaveAs+Modify+Compile takes old fileName.
- Crash Setting values < 1 pico
- Passive Components: should not accept value = 0.
- Atmega32u4: Pwm not working.
- Atmega32u4: Duplicated Pin D4. (Sergey Roenko)
- Atmega64: Wrong Pin20, should be reset. (Sergey Roenko)
- Mcu eeprom: error loading data files.
- Pic mcu: error reading opencollector pins as input.

SR2:
- Atmega32u4: Fast PWM on pin OC1C doesn't work for timer 1.
- Audio Output: cracking sounds.
- Volt. Regulator not working in some cases.
- PIC16F505 wrong package.
- Counter not working in Subcircuits.
- Crash deleting a subcircuit that fails to load .subcircuit file.
- Gates sometimes fail to restart after power-off (inverter oscillator example).
- SubPackage->LoadPackage fails to set proper default path in some cases.
- Logic Devices: Input HighV & LowV not working in Subcircuits.
- Windows can only reach 80% simulation speed.
- Windows cancel wire by right-click shows context menu.
- Drag & drop files not workingin windows.
- Editor: some grammatical errors.
- Frequencimeter: Wrong value at Circuit speed > 1 MHz.
- Plotter not showing small signals properly ( < 0.1 V ).
- Mcu: Setting Pin direction can miss previous Pin state.
- Mcu: Pullups not working depending on Pin direction set order.
- BcdToDec not working in subcircuits.
- Editor: asm type not recognized after modify and save.

SR3:
- Clock & WaveGen: Wrong frequency after circuit speed change > 1 MHz while running.
- New Circuit when Simulation is paused = Power button dissabled.
- Serial Monitor not properly deleted.
- Remove waveGen max frequency limit.
- AVR Adc not working for channels > 8.
- Avr asm Copmiler: error in mega16 & mega 32 .inc files.
- Arduino Uno should have a buffer lo drive builtin led.
- Locale variants not working (eg. pt_BR).
- AVR i2c not working properly.

SR4:
- Drag&Drop files not working as it should (item created at Drag enter).
- Crash: Arduino Uno led buffer not properly removed (0.4.13-SR3).
- LedMatrix not cleanly removed.
- Serial Monitor Windows always on top.
- Missing files: TC4560, TC4561 (Sergey Roenko).
- 74HC148 not working properly (Sergey Roenko).
- Fix Windows version number.
SR5:
- Text Component: Delete Key not working.
- PIC Comparator: Output Vref to Pin doesn't work.
- Image Component: Animated Gifs not working.
- RamTable: Load varset brokes RamTable (addr = 0).
- Pic Uart sends extra character after reset (0.4.13.SR2).
- Serial Monitor doesn't keep on top of main window (0.4.13.SR4).
- AVR spi not synched to mcu clock in some cases (asteroid game).
- Editor: Set Compiler Path for unsaved or unsupported files should show an info dialog.
- Crash dropping files to circuit in some cases.


New Components:

RC3:
- WS2812 LED.
- IC74 (thanks to Sergey Roenko)
74XX01, 74HC73, 74HC76, 74HC109, 74HC112, 74HC113, 74HC173
74HC175, 74HC259, 74HC373, 74HC374, 74HC375, 74HC377

RC4:
- Image.
- SD1306 I2C OLED Display.
- IC74 (Sergey Roenko strikes again)
74XX91, 74XX95, 74XX96, 74XX166, 74XX170, 74XX178, 74XX179
74XX195, 74XX198, 74XX199, 74HC670, 74XX381, 74XX382

RC5:
- IC74 (Sergey Roenko)
74HC245, 74HC260, 74HC4094

- ICCD (Sergey Roenko)
CD4006, CD4013, CD4014, CD4015, CD4021, CD4027, CD4035, CD4042, CD4043
CD4044, CD4076, CD4094, CD4095, CD4096, CD4099, CD4508, CD40174, CD40175

RC6:
- IC74 (Sergey Roenko)
74HC156, 74HC157, 74HC158, 74HC251, 74HC257, 74HC258, 74HC298, 74HC352
74HC353, 74HC354, 74HC356, 74HC4052, 74HC4053, 74HC4067
74XX150, 74XX582, 74XX583

- ICCD (Sergey Roenko)
CD4019, CD4029, CD4066, CD4512, CD4532, CD4553

- Keys (Sergey Roenko)
DG401, DG403, DG405

- Ternary (Sergey Roenko)
Ternary_AND, Ternary_Buffer, Ternary_Multiplexer, Ternary_NAND
Ternary_NOR, Ternary_NOT. Ternary_OR

SR2:
- IC74 (Sergey Roenko)
74C925, 74C926, 74C927, 74HC51, 74HC594, 74HC597, 74HC4016, 74LS54, 74XX45,
74XX46, 74XX48, 74XX49, 74XX54, 74XX55, 74XX56, 74XX57, 74XX64, 74XX65,
74XX68, 74XX69, 74XX70, 74XX72, 74XX82, 74XX83, 74XX114, 74XX141, 74XX145,
74XX156, 74XX159, 74XX168, 74XX169, 74XX171, 74XX180, 74XX240, 74XX242,
74XX243, 74XX244, 74XX246, 74XX248, 74XX249, 74XX276, 74XX280, 74XX295,
74XX299, 74XX323, 74XX365, 74XX366, 74XX367, 74XX368, 74XX376, 74XX378,
74XX379, 74XX395, 74XX540, 74XX541, 74XX591, 74XX682, 74XX684.

- ICCD (Sergey Roenko)
CD4085, CD4502, CD4503, CD4522, CD4526, CD4539, MC14495, MM74C922, MM74C923,
TC4467, TC4468, TC4469.

- Keys (Sergey Roenko)
L293.


Последняя версия, доступная подписчикам: SimulIDE 0.4.14
 "Список изменений"
simulide 0.4.14

Changes:
RC2:
- Full Adder: change to horizontal configuration.
- Adder, Counter, FlipFlops: smaller size.
- Properties Tab removed, now right-click->Properties opens new window.

RC4:
- Updated About SimulIDE Dialog.
- Old Relays not supported (save circuit with 0.4.13).

Final:
- Delete key working again to remove Components.
- RamTabe Tab removed (open Ramtable in MCU).

New Features:
RC1:
- Mcu Logic Symbol enabled.
- Some AVR Logic Symbols (Sergey Roenko)
- Mcu Help Files enabled.
- Some AVR Help files (Sergey Roenko)
- Gui French translation (Pascal Cotret)
- Change Language: Circuit->Properties.

RC2:
- Debugger: Show number of Clock Cycles for each Debug Step.
- AVR: Allow AVR GPRs R0-R31 names in Ramtable.
- RamTable: show Status Reg. bits and PC.
- Flipflops: Trigger property (None, Clock, InEnable).
- Gui German translation (Tim Fischer).
- Circuit Speed label: float with 2 decimals.
- New Oscope: basic + advanced modes.

RC3:
- New Plotter and Oscilloscope unified Component.
- Recently used Circuits.
- Recently used Editor files.
- Search Components in Component List.
- Esc Key to cancel New wire.
- Open .simu file by command line: "simulide circ.simu" (or double-click).
- Set Simulation speed by steps per second or percentage.
- Set Simulation step (nanoseconds).
- Gui Brazilian Portuguese Translation ( Maico Smaniotto ).

RC4:
- New Subcircuits with graphical Components capabilities (Boards).
- Several AVR Logic Symbol Packages (Sergey Roenko).
- Several AVR help files (Sergey Roenko).

Final:
- Make RamTable persistent.
- Unique Ramtable as window for each MCU.
- OpAmp: Properties for positive and negative power voltages.
- Remove all limitations to simulation speed (before limited to 1 GHz).
- Editor: Accept dropping files.

SR1:
- Some new Russian help files (Sergey Roenko).
- Boards finished.

SR2:
- Italian translation (@rcanoid).

Bug Fixes:
RC1:
- Mosfet animation not updating after Power-Off.
- Editor: SaveAs should take current file instead of last file.
- Editor: SaveAs+Modify+Compile takes old fileName.
- Crash Setting values < 1 pico
- Passive Components: should not accept value = 0.
- Atmega32u4: Pwm not working.
- Atmega32u4: Duplicated Pin D4. (Sergey Roenko)
- Atmega64: Wrong Pin20, should be reset. (Sergey Roenko)
- Mcu eeprom: error loading data files.
- Pic mcu: error reading opencollector pins as input.

RC2:
- Atmega32u4: Fast PWM on pin OC1C doesn't work for timer 1.
- Audio Output: cracking sounds.
- Volt. Regulator not working in some cases.
- PIC16F505 wrong package.
- Counter not working in Subcircuits.
- Crash deleting a subcircuit that fails to load .subcircuit file.
- Gates sometimes fail to restart after power-off (inverter oscillator example).
- SubPackage->LoadPackage fails to set proper default path in some cases.
- Logic Devices: Input HighV & LowV not working in Subcircuits.
- Windows can only reach 80% simulation speed.
- Windows cancel wire by right-click shows context menu.
- Drag & drop files not working in windows.
- Editor: some grammatical errors.
- Frequencimeter: Wrong value at Circuit speed > 1 MHz.
- Plotter not showing small signals properly ( < 0.1 V ).
- Mcu: Setting Pin direction can miss previous Pin state.
- Mcu: Pullups not working depending on Pin direction set order.
- BcdToDec not working in subcircuits.
- Editor: asm type not recognized after modify and save.

RC3:
- Clock & WaveGen: Wrong frequency after circuit speed change > 1 MHz while running.
- New Circuit when Simulation is paused => Power button dissabled.
- Serial Monitor not properly deleted.
- Remove waveGen max frequency limit.
- AVR Adc not working for channels > 8.
- Avr asm Copmiler: error in mega16 & mega 32 .inc files.
- Arduino Uno should have a buffer lo drive builtin led.
- Debugger broken ( 0.4.14-RC2 ).
- Locale variants not working (eg. pt_BR).
- AVR i2c not working properly.

RC4:
- Drag&Drop files not working as it should (item created at Drag enter).
- Crash: Arduino Uno led buffer not properly removed (0.4.14-RC3).
- LedMatrix not cleanly removed.
- Properties & Serial Monitor Windows always on top.
- Not possible to set simulation steps < 1 nS.
- RamTable: some PIC status bits names don't fit.
- Missing files: TC4560, TC4561 (Sergey Roenko).
- 74HC148 not working properly (Sergey Roenko).
- Mcu pins not properly initializated in some cases (0.4.14-RC2).
- Weird bug in examples/pic/glcd8544_p18f2550 (0.4.14-RC2).
- Pressing delete key while editing values removes oscope.
- Pausing simulation and click on oscope clears oscope screen.
- Fix Windows version number.

Final:
- Oscope DC input: not shown until volt change.
- Oscope: Wrong central axis subdivisions for X sizes not multiple of 50.
- Text Component: Deleteº Key not working.
- Random Crash removing grounded Leds (0.4.14-RC4).
- PIC Comparator: Output Vref to Pin doesn't work.
- Image Component: Animated Gifs not working.
- RamTable: Load varset brokes RamTable (addr = 0).
- Pic Uart sends extra character after reset (0.4.13.RC2).
- AVR spi not synched to mcu clock in some cases (asteroid game).
- Changing Simulation Speed (Steps Per Sec.) should change step size if speed% results >100%.
- Editor: Set Compiler Path for unsaved or unsupported files should show an info dialog.
- Crash dropping files to circuit in some cases.
- Tunnel: wrong icon (0.4.14-RC4).

SR1:
- Undo/Redo: errors after new circuit.
- Undo/Redo: move single wire or component not saved.
- Attiny13 Timer0 pwm not working.
- Variable Resistors not updating values if simulation not running.
- Redraw problems moving Variable Resistor or Resistor Dip when zoomed.
- Error in Logical symbols for AtMega1280, 1281, 2560
- "Recently Used Circuits" button not showing ToolTip.
- Help text not shown for MCUs and Subcircuits.
- Some Russian help files fixed (Sergey Roenko).
- Font scale can lead to unreadable sizes, limit scale to 0.5->2.0
- Ramtable: missing first row after saving + reloading circuit (0.4.14-F).
- AVR: Flag ADIF in ADC must be cleared by writing a 1.
- AVR Comparators not working.
- Package Pins should not go outside limits.
- Package Pins not visible when "Point Pin" selected.
- Missing avra and gpasm executables in Win 64 version.

SR2:
- AVR fails to read some hex files (unordered address).
- Crash compiling some Arduino sketches (var type and name not in same line).
- Crash reading Arduino Mega ADC (0.4.14-SR1).
- AVR AtTinyX5: Timer1 not working in some cases.
- Arduino: Changing Mcu Freq does nothing (simulide 0.4.14-SR1).
- AVR Phase Correct PWM not working correctly.
- Fixed Volt. not updated if simulation not running.
- Backspace key should delete components (Jan K. S.)
- Fix MacOs build problems (Jan K. S.)
Buttons not showing properly.
Missing MacOs simulide icon.
Child windows stay on top.
Editor monospaced Font.
Fix simulation crashes/bugs.
- Fix center position after loading circuit (Jan K. S.)
- Serial Monitor: Limit output size to avoid exesive memory usage.
- AVR load firmware fails with non english characters.

New Components:
RC1:
- Dc Motor.
- Variable Resistor.
- LDR.
- Termistor (NTC).
- Atmega32m1, Atmega64m1.

RC2:
- IC74 (Sergey Roenko)
74C925, 74C926, 74C927, 74HC51, 74HC594, 74HC597, 74HC4016, 74LS54, 74XX45,
74XX46, 74XX48, 74XX49, 74XX54, 74XX55, 74XX56, 74XX57, 74XX64, 74XX65,
74XX68, 74XX69, 74XX70, 74XX72, 74XX82, 74XX83, 74XX114, 74XX141, 74XX145,
74XX156, 74XX159, 74XX168, 74XX169, 74XX171, 74XX180, 74XX240, 74XX242,
74XX243, 74XX244, 74XX246, 74XX248, 74XX249, 74XX276, 74XX280, 74XX295,
74XX299, 74XX323, 74XX365, 74XX366, 74XX367, 74XX368, 74XX376, 74XX378,
74XX379, 74XX395, 74XX540, 74XX541, 74XX591, 74XX682, 74XX684.

- ICCD (Sergey Roenko)
CD4085, CD4502, CD4503, CD4522, CD4526, CD4539, MC14495, MM74C922, MM74C923,
TC4467, TC4468, TC4469.

- Keys (Sergey Roenko)
L293.

RC4:
- Tunnel.


В разработке: SimulIDE 0.5.15 - Пока нестабильная.
 "Список изменений"
simulide 0.5.15

Changes:
RC1:
- Old Subcircuits not supported.

New Features:
RC1:
- Some new Russian help files (Sergey Roenko).
- Boards finished.
- Subcircuits converted to new system.
- Multy Mcu working (experimental).

Bug Fixes:
RC1:
- Undo/Redo: errors after new circuit.
- Undo/Redo: move single wire or component not saved.
- Attiny13 Timer0 pwm not working.
- Variable Resistors not updating values if simulation not running.
- Redraw problems moving Variable Resistor or Resistor Dip when zoomed.
- Error in Logical symbols for AtMega1280, 1281, 2560
- "Recently Used Circuits" button not showing ToolTip.
- Help text not shown for MCUs and Subcircuits.
- Some Russian help files fixed (Sergey Roenko).
- Font scale can lead to unreadable sizes, limit scale to 0.5->2.0
- Ramtable: missing first row after saving + reloading circuit (0.4.14-F).
- AVR: Flags ADIF in ADC must be cleared by writing a 1.
- AVR Comparators not working.
- Package Pins should not go outside limits.
- Package Pins not visible when "Point Pin" selected.

New Components:


08 Nov 2020 01:44
Profile
Novelist
User avatar

Joined: 11 Oct 2018 01:52
Posts: 39
Location: г. Клинцы, Брянская обл.
Reply with quote
Получил интересную информацию.
В версии SimulIDE 0.5.15 появится симуляция микроконтроллеров на ядре 8051 и, возможно, 8085.
Отсюда следует, что программа развивается, пусть медленно, но без остановок.
В первую очередь эту версию получат подписчики.

Автор предоставил скриншоты одновременной работы AtMega328 и 8051.
Будем ждать стабильной версии...

Кому интересно, предлагаю новые модельки для SimulIDE 0.4.13 (ссылки на программу в топике):
К176ИЕ3, К176ИЕ4, К176ИЕ5, К176ИЕ12

Архив распаковать в каталог "data". Путь к каталогу: "...\SimulIDE_0.4.13-SR5_Win64\share\simulide\data\"


Attachments:
File comment: Рожденные в СССР
ussr.zip [8.04 KiB]
Downloaded 135 times
15 Nov 2020 11:43
Profile
Devil

Joined: 06 Oct 2006 04:17
Posts: 699
Location: г.Лянтор,Сургутского р-на,ХМАО
Reply with quote
:no:

_________________
:arrow: Сайт о ПК "Специалист" и его клонах


16 Nov 2020 08:56
Profile WWW
Novelist
User avatar

Joined: 11 Oct 2018 01:52
Posts: 39
Location: г. Клинцы, Брянская обл.
Reply with quote
В программе много примеров, в том числе и для Pic. Они находятся по пути: "SimulIDE_0.4.13-SR5_Win64\share\simulide\examples\"
В микроконтроллеры грузятся "Hex" файлы. (Через правую кнопку мыши на микроконтроллере). Проверил выборочно несколько примеров - все работает.


16 Nov 2020 10:38
Profile
Senior

Joined: 12 Jul 2016 22:30
Posts: 136
Reply with quote
Хотел попробовать поотлаживать AVR на ассемблере, насилу нашел бинарник для старого avrasm - который требуется SimuillIDE. В ходу уже наверное лет с 10 а то и больше avrasm2. Но не суть нашел, поскольку это GNU GPL и он честно признается что не неполностью совместим с avrasm первой версии, SimullIDE я подсунул путь до ассемблера и он по всей видимости не смог обработать ошибку на ключ -W которую сует в командную строку. Смысл такой не создается .lst и .hex а без этого увы ничего не получится. Можно как то перейти на arasm2 или хотя бы отменить ключ -W NoRegDef. Вот выхлоп компиляции:
Quote:
Готов
-------------------------------------------------------
Файл: C:/develop/SimulIDE_0.4.13-SR5_Win64/main.asm

Файл распознан как: Avr asm
-------------------------------------------------------
Exec: -------------------------------------------------------
Exec: "C:/develop/SimulIDE_0.4.13-SR5_Win64/bin/avra-exe/avra" -W NoRegDef -l "C:/develop/SimulIDE_0.4.13-SR5_Win64/main.lst" -I "C:/develop/SimulIDE_0.4.13-SR5_Win64/share/simulide/data/codeeditor/tools/avra" "C:/develop/SimulIDE_0.4.13-SR5_Win64/main.asm"

AVRA: advanced AVR macro assembler Version 1.0.1 Build 113 (12. February 2004)

Copyright (C) 1998-2004 Jon Anders Haugum, Tobias Weber



AVRA is an open source assembler for Atmel AVR microcontroller family

It can be used as a replacement of 'AVRASM32.EXE' the original assembler

shipped with AVR Studio. We do not guarantee full compatibility for avra.



AVRA comes with NO WARRANTY, to the extent permitted by law.

You may redistribute copies of avra under the terms

of the GNU General Public License.

For more information about these matters, see the files named COPYING.



Error: Unknown option: -W




УСПЕШНО!!! Компиляция завершена


13 Dec 2020 01:04
Profile
Novelist
User avatar

Joined: 11 Oct 2018 01:52
Posts: 39
Location: г. Клинцы, Брянская обл.
Reply with quote
Я добавил в топик необходимые компиляторы для PIC и AVR (автор забыл их положить в соответствующий каталог программы).
С этими компиляторами ошибок компиляции и отладки нет.
AVRA Version 1.3.0 build 1 (8 may 2010)

Компиляторы должны находится рядом с исполняемым файлом simulide.exe. В этом случае никаких путей к компилятору указывать не нужно.


13 Dec 2020 03:43
Profile
Senior

Joined: 12 Jul 2016 22:30
Posts: 136
Reply with quote
FizikS wrote:
Компиляторы должны находится рядом с исполняемым файлом simulide.exe. В этом случае никаких путей к компилятору указывать не нужно.


Спасибо! Я уж умудрился пользоваться тем что есть. Но ваши файлы дают большее удобство.

Однако :) в схеме с внешним ОЗУ подключенным к портам, atmega328p работает чрезвычайно странно. Пошагово прохождение оставляет информацию в ОЗУ (цикл выставил адрес, выставил данные, записал сигналом ~WE). Это видно при при сохранении содержимого ОЗУ в файл. А вот при выполнении до контрольной точки - при сохранении данных из ОЗУ сохраняются сплошные "нули". Я уж ставил частоту на 1МГц, думая что у ОЗУ не нулевая латентность на запись. Однако все точно так же. По шагам - симуляция записи в ОЗУ идет, если отпустить цикл до контрольной точки - увы пусто. Самое неприятное что после того как сохраняешь дамп из ОЗУ в файл и делаешь шаг, симуляция впадает в бесконечный цикл, выйти можно только сняв задачу.


Attachments:
SimulIDE.png
SimulIDE.png [ 105.34 KiB | Viewed 2494 times ]
13 Dec 2020 12:13
Profile
Novelist
User avatar

Joined: 11 Oct 2018 01:52
Posts: 39
Location: г. Клинцы, Брянская обл.
Reply with quote
На официальном сайте появилась в общем доступе версия программы SimulIDE 0.4.14SR4. Желающие могут скачать по ссылкам в топике, если с официального сайта скачать затруднительно.
Что нового: 2-хлучевой осциллограф (немного неудобен в управлении, но привыкнуть можно), батарейка, электродвигатель постоянного тока, фоторезистор, терморезистор, переменный резистор, более 70 новых микросхем (74хх и CD4000 серий), небольшие изменения в интерфейсе, исправлены многие ошибки.

 Что нового?
simulide 0.4.14

Changes:
RC2:
- Full Adder: change to horizontal configuration.
- Adder, Counter, FlipFlops: smaller size.
- Properties Tab removed, now right-click->Properties opens new window.

RC4:
- Updated About SimulIDE Dialog.
- Old Relays not supported (save circuit with 0.4.13).

Final:
- Delete key working again to remove Components.
- RamTabe Tab removed (open Ramtable in MCU).

New Features:
RC1:
- Mcu Logic Symbol enabled.
- Some AVR Logic Symbols (Sergey Roenko)
- Mcu Help Files enabled.
- Some AVR Help files (Sergey Roenko)
- Gui French translation (Pascal Cotret)
- Change Language: Circuit->Properties.

RC2:
- Debugger: Show number of Clock Cycles for each Debug Step.
- AVR: Allow AVR GPRs R0-R31 names in Ramtable.
- RamTable: show Status Reg. bits and PC.
- Flipflops: Trigger property (None, Clock, InEnable).
- Gui German translation (Tim Fischer).
- Circuit Speed label: float with 2 decimals.
- New Oscope: basic + advanced modes.

RC3:
- New Plotter and Oscilloscope unified Component.
- Recently used Circuits.
- Recently used Editor files.
- Search Components in Component List.
- Esc Key to cancel New wire.
- Open .simu file by command line: "simulide circ.simu" (or double-click).
- Set Simulation speed by steps per second or percentage.
- Set Simulation step (nanoseconds).
- Gui Brazilian Portuguese Translation ( Maico Smaniotto ).

RC4:
- New Subcircuits with graphical Components capabilities (Boards).
- Several AVR Logic Symbol Packages (Sergey Roenko).
- Several AVR help files (Sergey Roenko).

Final:
- Make RamTable persistent.
- Unique Ramtable as window for each MCU.
- OpAmp: Properties for positive and negative power voltages.
- Remove all limitations to simulation speed (before limited to 1 GHz).
- Editor: Accept dropping files.

SR1:
- Some new Russian help files (Sergey Roenko).
- Boards finished.

SR2:
- Italian translation (@rcanoid).

Bug Fixes:
RC1:
- Mosfet animation not updating after Power-Off.
- Editor: SaveAs should take current file instead of last file.
- Editor: SaveAs+Modify+Compile takes old fileName.
- Crash Setting values < 1 pico
- Passive Components: should not accept value = 0.
- Atmega32u4: Pwm not working.
- Atmega32u4: Duplicated Pin D4. (Sergey Roenko)
- Atmega64: Wrong Pin20, should be reset. (Sergey Roenko)
- Mcu eeprom: error loading data files.
- Pic mcu: error reading opencollector pins as input.

RC2:
- Atmega32u4: Fast PWM on pin OC1C doesn't work for timer 1.
- Audio Output: cracking sounds.
- Volt. Regulator not working in some cases.
- PIC16F505 wrong package.
- Counter not working in Subcircuits.
- Crash deleting a subcircuit that fails to load .subcircuit file.
- Gates sometimes fail to restart after power-off (inverter oscillator example).
- SubPackage->LoadPackage fails to set proper default path in some cases.
- Logic Devices: Input HighV & LowV not working in Subcircuits.
- Windows can only reach 80% simulation speed.
- Windows cancel wire by right-click shows context menu.
- Drag & drop files not working in windows.
- Editor: some grammatical errors.
- Frequencimeter: Wrong value at Circuit speed > 1 MHz.
- Plotter not showing small signals properly ( < 0.1 V ).
- Mcu: Setting Pin direction can miss previous Pin state.
- Mcu: Pullups not working depending on Pin direction set order.
- BcdToDec not working in subcircuits.
- Editor: asm type not recognized after modify and save.

RC3:
- Clock & WaveGen: Wrong frequency after circuit speed change > 1 MHz while running.
- New Circuit when Simulation is paused => Power button dissabled.
- Serial Monitor not properly deleted.
- Remove waveGen max frequency limit.
- AVR Adc not working for channels > 8.
- Avr asm Copmiler: error in mega16 & mega 32 .inc files.
- Arduino Uno should have a buffer lo drive builtin led.
- Debugger broken ( 0.4.14-RC2 ).
- Locale variants not working (eg. pt_BR).
- AVR i2c not working properly.

RC4:
- Drag&Drop files not working as it should (item created at Drag enter).
- Crash: Arduino Uno led buffer not properly removed (0.4.14-RC3).
- LedMatrix not cleanly removed.
- Properties & Serial Monitor Windows always on top.
- Not possible to set simulation steps < 1 nS.
- RamTable: some PIC status bits names don't fit.
- Missing files: TC4560, TC4561 (Sergey Roenko).
- 74HC148 not working properly (Sergey Roenko).
- Mcu pins not properly initializated in some cases (0.4.14-RC2).
- Weird bug in examples/pic/glcd8544_p18f2550 (0.4.14-RC2).
- Pressing delete key while editing values removes oscope.
- Pausing simulation and click on oscope clears oscope screen.
- Fix Windows version number.

Final:
- Oscope DC input: not shown until volt change.
- Oscope: Wrong central axis subdivisions for X sizes not multiple of 50.
- Text Component: Deleteº Key not working.
- Random Crash removing grounded Leds (0.4.14-RC4).
- PIC Comparator: Output Vref to Pin doesn't work.
- Image Component: Animated Gifs not working.
- RamTable: Load varset brokes RamTable (addr = 0).
- Pic Uart sends extra character after reset (0.4.13.RC2).
- AVR spi not synched to mcu clock in some cases (asteroid game).
- Changing Simulation Speed (Steps Per Sec.) should change step size if speed% results >100%.
- Editor: Set Compiler Path for unsaved or unsupported files should show an info dialog.
- Crash dropping files to circuit in some cases.
- Tunnel: wrong icon (0.4.14-RC4).

SR1:
- Undo/Redo: errors after new circuit.
- Undo/Redo: move single wire or component not saved.
- Attiny13 Timer0 pwm not working.
- Variable Resistors not updating values if simulation not running.
- Redraw problems moving Variable Resistor or Resistor Dip when zoomed.
- Error in Logical symbols for AtMega1280, 1281, 2560
- "Recently Used Circuits" button not showing ToolTip.
- Help text not shown for MCUs and Subcircuits.
- Some Russian help files fixed (Sergey Roenko).
- Font scale can lead to unreadable sizes, limit scale to 0.5->2.0
- Ramtable: missing first row after saving + reloading circuit (0.4.14-F).
- AVR: Flag ADIF in ADC must be cleared by writing a 1.
- AVR Comparators not working.
- Package Pins should not go outside limits.
- Package Pins not visible when "Point Pin" selected.
- Missing avra and gpasm executables in Win 64 version.

SR2:
- AVR fails to read some hex files (unordered address).
- Crash compiling some Arduino sketches (var type and name not in same line).
- Crash reading Arduino Mega ADC (0.4.14-SR1).
- AVR AtTinyX5: Timer1 not working in some cases.
- Arduino: Changing Mcu Freq does nothing (simulide 0.4.14-SR1).
- AVR Phase Correct PWM not working correctly.
- Fixed Volt. not updated if simulation not running.
- Backspace key should delete components (Jan K. S.)
- Fix MacOs build problems (Jan K. S.)
Buttons not showing properly.
Missing MacOs simulide icon.
Child windows stay on top.
Editor monospaced Font.
Fix simulation crashes/bugs.
- Fix center position after loading circuit (Jan K. S.)
- Serial Monitor: Limit output size to avoid exesive memory usage.
- AVR load firmware fails with non english characters.

SR3:
- Fixed Volt not saving state.
- Ammeter and voltmeter redraw problems (zooming).
- Battery doesn't show Volt. label.
- AVR PWM not taking total control of OC pins.
- AVR eeprom: unwritten value at address 0 should be 0xFF;
- Crash opening Serial Monitor (Qt >= 5.12.2).
- Dc Motor speed indicator not working with PWM.
- Mosfet error, shown whith switches in the circuit.
- Clock and WaveGen On/Off color indicator not updated.

SR4:
- Relay Normally Closed not behaving correctly.
- Bjt: fails to converge in some cases (contant current circuit).
- Crash deleting Subcircuits in some cases (analog mux).
- Oscope: Cursor randomly wrong scale.
- Crash setting very large Component values


New Components:
RC1:
- Dc Motor.
- Variable Resistor.
- LDR.
- Termistor (NTC).
- Atmega32m1, Atmega64m1.

RC2:
- IC74 (Sergey Roenko)
74C925, 74C926, 74C927, 74HC51, 74HC594, 74HC597, 74HC4016, 74LS54, 74XX45,
74XX46, 74XX48, 74XX49, 74XX54, 74XX55, 74XX56, 74XX57, 74XX64, 74XX65,
74XX68, 74XX69, 74XX70, 74XX72, 74XX82, 74XX83, 74XX114, 74XX141, 74XX145,
74XX156, 74XX159, 74XX168, 74XX169, 74XX171, 74XX180, 74XX240, 74XX242,
74XX243, 74XX244, 74XX246, 74XX248, 74XX249, 74XX276, 74XX280, 74XX295,
74XX299, 74XX323, 74XX365, 74XX366, 74XX367, 74XX368, 74XX376, 74XX378,
74XX379, 74XX395, 74XX540, 74XX541, 74XX591, 74XX682, 74XX684.

- ICCD (Sergey Roenko)
CD4085, CD4502, CD4503, CD4522, CD4526, CD4539, MC14495, MM74C922, MM74C923,
TC4467, TC4468, TC4469.

- Keys (Sergey Roenko)
L293.

RC4:
- Tunnel.


Это последний релиз версий 0.4.хх. В настоящее время актуальная версия будет 0.5.15, которая значительно лучше предыдущих. Новый движок симуляции значительно увеличил скорость и точности симуляции. Появилось несколько новых полезных моделей. Через несколько месяцев должен состояться публичный релиз...


25 Jan 2021 15:06
Profile
Senior

Joined: 12 Jul 2016 22:30
Posts: 136
Reply with quote
FizikS wrote:
На официальном сайте появилась в общем доступе версия программы SimulIDE 0.4.14SR4


Здорово конечно, хоть иногда она и падает. Но проблема с ОЗУ так и не решена, почему то в симуляцию ОЗУ не включается. Контроллер выставляет ей значение на ноги, все замечательно, строб записи она получает - но при чтении из нее - одни "нули". Что делать?

P.S. Залез уже в исходники, ну все вроде ясно при WE=1 и переходе из WE=0 в WE=1 пишем данные с шины данных. Все должно работать, но почему запись сопровождаемую дерганьем OE вручную симулятор воспринимает и пишет данные, а с OE=1 как будто вообще никаких сигналов внутрь ОЗУ не проходит.

Code:
    bool weTrig = false;
    if( WE && !m_we ) weTrig = true;
    m_we = WE;
    if( WE )                                                    // Write
    {
        if( csTrig || weTrig)
        {
            int value = 0;

            for( int i=0; i<m_numOutputs; i++ )
            {
                int volt = m_output[i]->getEpin()->getVolt();

                bool  state = m_dataPinState[i];

                if     ( volt > m_inputHighV ) state = true;
                else if( volt < m_inputLowV )  state = false;

                m_dataPinState[i] = state;
                //qDebug() << "Bit " << i << state;
                if( state ) value += pow( 2, i );
            }
            //qDebug()<< QString::fromStdString( m_elmId ) << "Writting " << address << value;
            m_ram[address] = value;
        }
    }


15 Feb 2021 00:07
Profile
Novelist
User avatar

Joined: 11 Oct 2018 01:52
Posts: 39
Location: г. Клинцы, Брянская обл.
Reply with quote
SAA wrote:
Но проблема с ОЗУ так и не решена, почему то в симуляцию ОЗУ не включается...

Этот вопрос лучше адресовать непосредственно автору программы. Мое отношение к программе - тестирование и написание моделей цифровых микросхем.
Автор программы несколько дней назад "прописался" на форуме kazus.ru: http://kazus.ru/forums/showthread.php?t ... age=40#394
Можно обратиться на официальный форум: https://simulide.forumotion.com/
Могу лично передать ваше послание. В любом случае желательно приложить проект, исходник программы и описание проблемы.
Уже вышла версия (с февраля этого года) на новом движке симуляции логических схем и микроконтроллеров 0.5.16.RC1, но она очень сырая. Часть проблем уже решена, но работать в ней пока нереально.


15 Feb 2021 01:59
Profile
Senior

Joined: 12 Jul 2016 22:30
Posts: 136
Reply with quote
FizikS wrote:
Могу лично передать ваше послание. В любом случае желательно приложить проект, исходник программы и описание проблемы.


Сформулировать проблему как не работает ОЗУ, согласитесь, будет крайне не корректно. Пока пытался понять как срабатывает запись в ОЗУ, наткнулся на то что модель AVR теряет линии порта на вывод, если менять значение DDRX регистра направлений AVR. Перестает изменять линии при записи после этого в PORT значений. Те порты которые инициализированы на вывод - работают правильно. Модель ATmega-128. Я понимаю что так конечно не должно быть - но ощущение что по всем фронтам выползают проблемы.

P.S. В примерах есть использование ОЗУ (CPU-16) так вот там линия OE вообще в воздух брошена, а CS-ом управляют для отключения устройства с шины.


15 Feb 2021 04:08
Profile
Novelist
User avatar

Joined: 11 Oct 2018 01:52
Posts: 39
Location: г. Клинцы, Брянская обл.
Reply with quote
На основном форуме SimulIDE появился интересный проект:
https://simulide.forumotion.com/t116-br ... simulation
https://simulide.forumotion.com/t99-ram ... nd-74xx170

Это проект Бена Итера "8 битный компьютер из хлама" (если не ошибаюсь, этот проект здесь упоминался): https://eater.net/8bit/pc
В общем, его отрисовали в SimulIDE, и он работает. В нем есть программатор ПЗУ на Arduino Nano. Я его из схемы изъял и проверил возможность программирования памяти. Перед программированием содержимое памяти было заполнено нулями, после программирования в содержимом памяти появилась заложенная в скетче прошивка. Т.е. модель памяти в SimulIDE работает корректно. Возможно есть ошибки в моделях микроконтроллеров.

Quote:
P.S. В примерах есть использование ОЗУ (CPU-16) так вот там линия OE вообще в воздух брошена, а CS-ом управляют для отключения устройства с шины.

В SimulIDE принято "висящий в воздухе" входной вывод считать подключенным к общему проводу. Это не совсем корректно, т.к. у микросхем ТТЛ такой вывод имеет состояние лог. 1.


15 Feb 2021 10:11
Profile
Senior

Joined: 12 Jul 2016 22:30
Posts: 136
Reply with quote
Путем многочисленных экспериментов, выяснилось, что если остановится на указанной на изображении точке останова и сделать ШАГ, то содержимое ОЗУ меняется. Если просто остановится и опять продолжить исполнение до точки останова, то содержимое в ОЗУ не меняется. Просто прогон симуляции без шагового режима - действует так же. От частоты МК не зависит. Для минимизации ошибок модели АВР, порт данных перестал дергать из режимы вывода в режим ввода.

P.S. Оказалось все таки зависит от частоты работы МК, на последнем скриншоте 2МГц, с ним заработало без режима отладки. Но в режиме отладки те же проблемы. Неужели там асинхронный код в работе моделей используется?
P.P.S. Снизил до 1МГц и даже до 0.5МГц, первый байт в дампе не записывается, должно быть 01.


Attachments:
AVR128-0.5MHz-dump.jpg
AVR128-0.5MHz-dump.jpg [ 95.22 KiB | Viewed 1808 times ]
AVR128-simulate.jpg
AVR128-simulate.jpg [ 336.07 KiB | Viewed 1808 times ]
15 Feb 2021 22:05
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 59 posts ]  Go to page Previous  1, 2, 3, 4  Next

Who is online

Users browsing this forum: No registered users and 2 guests


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 post attachments in this forum

Search for:
Jump to:  

Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.