Git Product home page Git Product logo

Comments (5)

ArielBaravalle avatar ArielBaravalle commented on July 23, 2024

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.

infernusdomoso avatar infernusdomoso commented on July 23, 2024

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.

PepitoSbazzeguti avatar PepitoSbazzeguti commented on July 23, 2024

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.

GHGARC avatar GHGARC commented on July 23, 2024

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.

kevwag avatar kevwag commented on July 23, 2024

Yes, all working fine now, thanks all :)

from dlo-138.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.