List of materials:
- 4 digits 7 segment with 2 x TM74HC595 shift registers. (schematic)
- HC-SR04 Ultrasonic Ranging Module (datasheet)
You can buy a Segger JTAG J-Link clone for few USD on ebay, aliexpress, dx, ...
If you try to update its firmware with the official Segger tool, you'll brick the probe.
Don't worry, smart people have already put a checklist to restore a working firmware and even update it to the latest official version. I just put all the needed info into one single page.
Remember those ?
I assume that you have basic understanding of: unzipping a file, mounting an ISO file, opening the Command prompt in Administrator mode and booting your PC from an USB flash drive.
Since the project is using Cmake, the following commands could go inside an add_custom_target rule in CMakeLists.txt
I just received my Seeeduino Arch GPRS V2. The doc is as light as the price 🙂 So don't be afraid and open the Eagle file and the bottom of the product wiki page.
You need to have python2.7 installed.
1cp /usr/lib/python2.7/dist-packages/rpdb2.py .
- Apply patch
rpdb2_3.3diff1234567891011--- /usr/lib/python2.7/dist-packages/rpdb2.py 2010-08-17 22:12:52.000000000 +0300+++ rpdb2.py 2014-05-14 10:37:29.559752856 +0300@@ -7280,7 +7280,7 @@Set rpdb2 to wrap all signal handlers."""for key, value in list(vars(signal).items()):- if not key.startswith('SIG') or key in ['SIG_IGN', 'SIG_DFL', 'SIGRTMIN', 'SIGRTMAX']:+ if not key.startswith('SIG') or key in ['SIG_IGN', 'SIG_DFL', 'SIGRTMIN', 'SIGRTMAX', 'SIG_BLOCK', 'SIG_BLOCK', 'SIG_UNBLOCK', 'SIG_SETMASK']:continuehandler = signal.getsignal(value)
- Start Winpdb using python2
- Start rpdb2 using python3
1python3 /usr/lib/python3/dist-packages/rpdb2.py --debuggee myscript.py
- Attach the newly created debugger to Winpdb.