| Both sides previous revision Previous revision Next revision | Previous revision | 
| en:uhsdr_dev:uhsdrbuild [06.02.2018 08:12]  – ↷ Page name changed from en:uhsdr_dev:uhsdrimport to en:uhsdr_dev:uhsdrbuild df9ts_user | en:uhsdr_dev:uhsdrbuild [15.02.2018 00:03] (current)  – [Download new firmwar .bin to OVI40 UI]  df9ts_user | 
|---|
| {{tag>english}}{{tag>private}} | {{tag>english}}{{tag>review}} | 
| <bootnote> Attention: Work in progress - page under construction</bootnote> | <bootnote> Attention: Work in progress - page under construction</bootnote> | 
|  |  | 
| ==== Preconditions, Assumptions, Scope ==== | ==== Preconditions, Assumptions, Scope ==== | 
| * UHSDR toolchain installed, see [[en:uhsdr_dev:toolchain|here]] | * UHSDR toolchain installed, see [[en:uhsdr_dev:toolchain|here]] | 
| * ... |  | 
| * https://www.amateurfunk-sulingen.de/forum/index.php?board=15;action=display;threadid=313;start=0 |  | 
| * https://www.amateurfunk-sulingen.de/forum/index.php?board=15;action=display;threadid=263 |  | 
|  |  | 
| ==== Pull UHSDR source from Github, import into eclipse ==== | ==== Pull UHSDR source from Github, import into eclipse ==== | 
| Newly built binary fw-ovi40.bin can be found in the eclipse project explorer (left sidebar): mchf-eclipse -> DebugOVI40 -> fw-ovi40.bin | Newly built binary fw-ovi40.bin can be found in the eclipse project explorer (left sidebar): mchf-eclipse -> DebugOVI40 -> fw-ovi40.bin | 
|  |  | 
| ==== Download new firmwar .bin to OVI40 UI ==== | ==== Download new firmware .bin to OVI40 UI ==== | 
| * Please refer to [[https://www.amateurfunk-sulingen.de/wiki/doku.php?id=en:uhsdr:uhsdrfw#st-link_v2_firmware_upgrade]] | * Please refer to [[https://www.amateurfunk-sulingen.de/wiki/doku.php?id=en:uhsdr:uhsdrfw#st-link_v2_firmware_upgrade]] | 
| * UHSDR FW build should run. | * UHSDR FW build should run. | 
| The ST-Micro UM0412 manual on DfuSe can be found {{ :en:uhsdr:en.cd00155676.pdf | here}}. Original source is [[http://www.st.com/content/st_com/en/products/development-tools/software-development-tools/stm32-software-development-tools/stm32-programmers/stsw-stm32080.html|this]]. | The ST-Micro UM0412 manual on DfuSe can be found {{ :en:uhsdr:en.cd00155676.pdf | here}}. Original source is [[http://www.st.com/content/st_com/en/products/development-tools/software-development-tools/stm32-software-development-tools/stm32-programmers/stsw-stm32080.html|this]]. | 
|  |  | 
|  | ==== Eclipse user guide ==== | 
|  | * User guide can be found [[https://help.eclipse.org/kepler/index.jsp?topic=%2Forg.eclipse.linuxtools.perf.doc%2FLinux_Tools_Project%2FPERF%2FUser_Guide%2FProfiling-Configuration.html|here]]. | 
|  | * Profiling is described [[http://wiki.eclipse.org/Linux_Tools_Project/Profiling/User_Guide|here]] | 
|  |  | 
|  | This covers basic usage as well as advanced tools such as profiling and others. | 
|  |  | 
|  | ==== Debug, tracing, real-time diagnostics ==== | 
|  | * [[http://blog.atollic.com/learn-serial-wire-viewer-debugging-on-cortex-m|nice summary of Cortex M tools here]] | 
|  | * [[https://gnu-mcu-eclipse.github.io/debug/openocd/|OpenOCD & Eclipse debug step-by-step instructions]] | 
|  | * {{:en:uhsdr_dev:en.dm00354244.pdf|AN4989 Application note STM32 microcontroller debug toolbox}} | 
|  | * Concurrent use of ST-Link debugger and SWO Viewer not possible, see [[http://www.openstm32.org/forumthread4122|here]] - but [[https://mcuoneclipse.com/2016/10/17/tutorial-using-single-wire-output-swo-with-arm-cortex-m-and-eclipse/|this]] link states Eclipse support in debugger for SWO? | 
|  | * J-Link Debug Probe [[:en:uhsdr_dev:segger_j_link|here]] | 
|  |  | 
|  |  | 
|  | ==== Further reading ==== | 
|  | * https://www.amateurfunk-sulingen.de/forum/index.php?board=15;action=display;threadid=313;start=0 | 
|  | * https://www.amateurfunk-sulingen.de/forum/index.php?board=15;action=display;threadid=263 | 
|  | * SWV and SWO and Eclipse explaind [[https://mcuoneclipse.com/2016/10/17/tutorial-using-single-wire-output-swo-with-arm-cortex-m-and-eclipse/| here]] | 
|  |  | 
|  |  |