DSO V1.1 open source code
Moderators: lily.li, violet, salmanfarisvp, jeremy882, crail.lyu969
Re: DSO V1.1 open source code
The source code is divided into two.
The DS0201_APP and DS0201_DFU
DS0201_APP-Is the Oscilloscope firmware
DS0201_DFU-This is for the integration with DFuse
I have corrupted the DS0201_DFU (a garbage screen display), but had manage to fix this since I had backuped the full ROM. You can not fix the DS0201_DFU portion of the firmware using the DS0201_APP only. A full copy of the firmware can fix this.
To create a backup, using DFuse Demo.
1) Connect DSO Nano, it should be detected by DFuse Demo
2) Under Upload Action->Click Choose
3) Type filename to save the backup rom
4) Click Upload
The file should be around 128k (STM32F103VB)
I don't know if that answer your question. But I hope it helped you in anyway.
The DS0201_APP and DS0201_DFU
DS0201_APP-Is the Oscilloscope firmware
DS0201_DFU-This is for the integration with DFuse
I have corrupted the DS0201_DFU (a garbage screen display), but had manage to fix this since I had backuped the full ROM. You can not fix the DS0201_DFU portion of the firmware using the DS0201_APP only. A full copy of the firmware can fix this.
To create a backup, using DFuse Demo.
1) Connect DSO Nano, it should be detected by DFuse Demo
2) Under Upload Action->Click Choose
3) Type filename to save the backup rom
4) Click Upload
The file should be around 128k (STM32F103VB)
I don't know if that answer your question. But I hope it helped you in anyway.
Re: DSO V1.1 open source code
Thanks for the reply. How do I restore the full rom when the DFU has been corrupted?
Re: DSO V1.1 open source code
Eventhough this may be off-topic to the subject of the post, i'll try to answer.
SeeedStudio may have alternative answers. As I haven't fully corrupted my firmware, I have not tested this yet (maybe soon hehe).
After the DFU firmware is written on the DSO Nano, the JTAG function will no longer work. If the firmware is corrupted and you can't use Dfuse to overwrite the new firmware, you can refer to ST Application Note AN2557 STM32F10x in-application programming using the USART. This may be your only solution. I think there is a section there for IAP (In-Application-Programming). You need to hook up with the Usart1 of the Dso Nano and use hyperterminal. You can also write protect some portions of the flash memory to protect from accidental writing.
Link:
http://www.st.com/mcu/familiesdocs-110.html
http://www.st.com/stonline/products/lit ... /13916.pdf
SeeedStudio may have alternative answers. As I haven't fully corrupted my firmware, I have not tested this yet (maybe soon hehe).
After the DFU firmware is written on the DSO Nano, the JTAG function will no longer work. If the firmware is corrupted and you can't use Dfuse to overwrite the new firmware, you can refer to ST Application Note AN2557 STM32F10x in-application programming using the USART. This may be your only solution. I think there is a section there for IAP (In-Application-Programming). You need to hook up with the Usart1 of the Dso Nano and use hyperterminal. You can also write protect some portions of the flash memory to protect from accidental writing.
Link:
http://www.st.com/mcu/familiesdocs-110.html
http://www.st.com/stonline/products/lit ... /13916.pdf
Re: DSO V1.1 open source code
Is possible to have the newer FW sources with those third party code sections stripped out?FreeZinG wrote:this code project is build by IAR 4.20 , the newest F/W is also in IAR 4.20
And the V1.1 in LOGO should be the hardware version , now the newest version is V1.3A , and the F/W version is V2.02.
the F/W of V1.X will be open source and everyone can use it as them wish , but the V2.X F/W will not release the source code , because there is some third party code in it and we don't have the authorization to public it.
and the H/W is all open source for all version.
Thanks
FreeZinG
I think that it's easy to do as it should consist just in the removal of some files, isn't it?

Many thanks in advance for your reply!
Re: DSO V1.1 open source code
I think if you remove the third party code updates, you will have the very same code as posted on the first page.
The codes were updated on the same files inside the source archive.
The codes were updated on the same files inside the source archive.
Re: DSO V1.1 open source code
Ok maybe, but I think that it doesn't make sense to introduce third-party proprietary code in a great project originated as open source like this.
Re: DSO V1.1 open source code
There may be some good news for you guys ^^
1. the new F/W will open source
2. the new opensource code will be build in IAR 5.4
3. the new F/W will divide into into 2 parts : APP and LIB . APP will open , the APP source code is smaller than 32K , so you just need a free evaluate version IAR to develop it.
1. the new F/W will open source
2. the new opensource code will be build in IAR 5.4
3. the new F/W will divide into into 2 parts : APP and LIB . APP will open , the APP source code is smaller than 32K , so you just need a free evaluate version IAR to develop it.
Re: DSO V1.1 open source code
Wow thats very promising.... is it still based on 1.0 or from 2.02?
I mean does it include the latest revisions on the codes? thanks
I mean does it include the latest revisions on the codes? thanks
Re: DSO V1.1 open source code
Where can I get IAR Arm 4.42A - I have only been able to find a download for v5.4.
Edit: got code compiling with v5.4.
It would be nice if the code could be compiled using GCC.
Edit: got code compiling with v5.4.
It would be nice if the code could be compiled using GCC.
Last edited by Adam1213 on Wed Jan 27, 2010 3:51 pm, edited 1 time in total.
Re: DSO V1.1 open source code
What license is the code under? i only see a copyright message. Copyright + source code !=open source (you need permissive copyright / copyleft).
Could you please update us on the license that is to be applied / applies to the code. A MIT or a similar license would be good.
Could you please update us on the license that is to be applied / applies to the code. A MIT or a similar license would be good.