Comments (5)
hello.
try add this line bellow the setup{
afio_cfg_debug_ports(AFIO_DEBUG_NONE);
#include <EEPROM.h>
#include <Adafruit_GFX.h>
#include "src/TFTLib/Adafruit_TFTLCD_8bit_STM32.h"
#include "global.h"
#include "variables.h"
#define FIRMWARE_VERSION "1.0"
// ------------------------
void setup() {
// ------------------------
afio_cfg_debug_ports(AFIO_DEBUG_NONE);
DBG_INIT(SERIAL_BAUD_RATE);
DBG_PRINT("Dual channel O Scope with two logic channels, ver: ");
DBG_PRINTLN(FIRMWARE_VERSION);
// set digital and analog stuff
initIO();
// load scope config or factory reset to defaults
loadConfig(digitalRead(BTN4) == LOW);
// init the IL9341 display
initDisplay();
}
// ------------------------
void loop() {
// ------------------------
controlLoop();
}
from dlo-138.
I had the same issue and can confirm adding that line solved the issue and the firmware boots now.
What did that line do exactly and why would it not being included stop the unit from booting?
from dlo-138.
Hi,
any news about the above question? I have the same problem.
I noticed that your binaries are 34k in size but for some reason my compiled binary is 45k - two forward slashes don't use 11k so I have no idea what's going on here??
from dlo-138.
Hi all
After installing the board / variant: STM32 Boards / Generic STM32F103C; Variant: STM32F103C8 and the Arduino SAM Boards
the software successfully compile, but the binary once downloaded to the DSO138 is still not working.
This is due to some ports (PB3/PB4, PA13/PA14/PA15) that are allocated to JTAG debug in the STM32F103C8 after reset.
To overcome this issue the afio_cfg_debug_ports(AFIO_DEBUG_NONE) function needs to be replaced by disableDebugPorts();
Recompile again, download firmware to DSO138 and enjoy!
Thanks to Ardyesp for this great piece of software!!
from dlo-138.
Yes, all working fine now, thanks all :)
from dlo-138.
Related Issues (20)
- Id 0x9595 HOT 1
- "Warning: register range not in ascending order" during compilation HOT 1
- Please create some installation manual HOT 3
- Add two channel XY function HOT 2
- Error while compiling with arduino IDE 1.8.9 HOT 4
- DSO138mini compatibility? HOT 7
- Are Analog2 Gerber files available HOT 1
- After firmware flash the voltage is not correct anymore HOT 3
- UART settings when transmitting HOT 1
- Plotter for DLO-138 HOT 3
- ILI9225 lib
- Short usage guide
- Trigger (NORM, SINGLE) doesn't work
- Lower than ~8V supply voltage causes malfunction (like a noise as a small sine wave)
- Timebase seems wrong HOT 4
- Download compiled binary HOT 8
- Blank screen (lii9325) HOT 7
- Question Does this work with FNIRSI 138 Pro? HOT 1
- [Arduino 1.8.5|1.8.19] Which Arduino SAM version to install?
- terrible button navigation
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dlo-138.