[nwazet Go! modules - update announcements
#1
Posted 13 May 2012 - 08:42 PM
I have updated the [Nwazet Touch Display firmware and the corresponding C# interface to support non-blocking touch event scanning.
In addition, there's a new 'Binaries' folder in the repository containing the release builds of our module firmware(s) and C# drivers.
For reference, here's the link to our BitBucket repository.
Cheers,
-Fabien.
- ByteMaster likes this
#2
Posted 13 May 2012 - 09:12 PM
Windows Phone Development MVP
President Software Logistics, LLC
Tampa, FL
#3
Posted 13 May 2012 - 10:14 PM
Last week, Chris Walker mentioned that he would release a generic module flashing application this week.
If not, you can flash any STM8 / STM32 chips yourself using the following items:
- A 3.3v FTDI cable
- A 10 pin FCI breakout socket
- A small breadboard
- ST's Flash Loader Demonstrator software
- Plug the 3.3v line of the FTDI cable into the positive power rail of the breadboard
- Plug the GND line of the FTDI cable into the GND rail of the breadboard
- Plug in the breakout socket into the Go!Bus connector of the display
- Connect the breakout socket as follows:
- Pin 3 (module GPIO/IRQ) to the breadboard's 3.3v rail using a 1K resistor
- Pin 10 (module GND) to the breadboard's GND rail
- Pin 4 (module RX) to the Orange (TXD) line on the FTDI cable
- Pin 5 (module TX) to the Yellow (RXD) line on the FTDI cable
- Connect Pin 1 on the breakout socket to the breadboard's 3.3v rail last: the display will power up and you will see a white screen instead of the [nwazet logo, indicating that the Touch Display module is in bootloader mode
- Using ST's Flash Loader Demonstrator and the 'NwazetDisplayModule.bin' from the \Binaries folder, you can now flash the STM32F205 chip with the new firmware (specify 512KB of flash).
- Keep in mind that ST's utility can be a bit flaky at times and things may not work correctly on the first try. If that happens, it's OK. For instance, you may have to unlock flash pages explicitly from the tool. If something doesn't work, just remove power from the module, close the ST Flash Loader Demonstrator and start the procedure over.
- You cannot brick the Touch Display module: the method I described will always put it back into bootloader mode. Just be careful with the polarity of the power you provide to the display and you'll be fine.
Another method is to solder a 10 position FCI connector to the un-populated JTAG pads on the back of the Touch Display module and flashing the module using STLink-v2 from your favorite compiler from the firmware's source code or using ST's DFU utility using the binary version of the firmware.
...Or, you could just wait for Chris' firmware flashing application
I hope this helps.
Cheers,
-Fabien.
- Gutworks and ByteMaster like this
#4
Posted 13 May 2012 - 11:21 PM
Now that wouldn't be hacking now, would it?
...Or, you could just wait for Chris' firmware flashing application
I hope this helps.
Cheers,
-Fabien.
Thanks for the detailed write-up Fabien!
Windows Phone Development MVP
President Software Logistics, LLC
Tampa, FL
#5
Posted 14 May 2012 - 02:15 PM
#6
Posted 15 May 2012 - 01:49 PM
#7
Posted 15 May 2012 - 04:01 PM
#8
Posted 15 May 2012 - 05:47 PM
Having spotted a forum post about this: http://blogs.msdn.co...neer-group.aspx
Does this mean that it may be possible to port your display firmware to .NET? Or am I totally wrong?
Regards,
Mike
Orrigional post: http://forums.netdui...o-the-stm32-f4/
Hi Mike,
I'm not quite sure I understand the question. Can you explain what you mean?
Cheers,
-Fabien.
#9
Posted 15 May 2012 - 05:53 PM
Well, anything is possible If you're willing to take on the shipping charges for the round trip, I can help you out.Is there any chance of sending displays back for them to get reflashed to the latest-greatest?
Having said that, this option does not scale and is costly. Secret Labs needs to deliver the module flashing application that the Go! community needs.
Cheers,
-Fabien.
#10
Posted 15 May 2012 - 06:05 PM
#11
Posted 15 May 2012 - 08:17 PM
#12
Posted 15 May 2012 - 08:29 PM
Hi Mike,
I'm not quite sure I understand the question. Can you explain what you mean?
Cheers,
-Fabien.
Sorry Fabien I didn't make what I was thinking very clear. At the moment you write your firmware for the module using c rather than c#. I was thinking that with this port of the .NET MF it may be possible to write the firmware using c#.
After thinking about this and looking into the display module some more I see it uses the same ARM Chip as the Netduino Go so you could have used the same firmware.
Also I suppose using C rather than C# will create faster native code so using a CLR based framework may not perform well.
By the way what IDE do you use for the C development?
#13
Posted 15 May 2012 - 09:17 PM
#14
Posted 15 May 2012 - 09:31 PM
Sorry Fabien I didn't make what I was thinking very clear. At the moment you write your firmware for the module using c rather than c#. I was thinking that with this port of the .NET MF it may be possible to write the firmware using c#.
After thinking about this and looking into the display module some more I see it uses the same ARM Chip as the Netduino Go so you could have used the same firmware.
Also I suppose using C rather than C# will create faster native code so using a CLR based framework may not perform well.
By the way what IDE do you use for the C development?
We should start another thread for this discussion. I'm afraid this is way off topic
Cheers,
-Fabien.
#15
Posted 15 May 2012 - 09:32 PM
Great, then I think we'll order a 3rd display, set it up, test it, make sure everything is working. Hopefully that'll give time for the software updater to become available, if not, I'll email you about possibly sending our other two in to get fixed up.
Ok. That woks too
Cheers,
-Fabien.
#16
Posted 16 May 2012 - 09:57 PM
Another method is to solder a 10 position FCI connector to the un-populated JTAG pads on the back of the Touch Display module and flashing the module using STLink-v2 from your favorite compiler from the firmware's source code or using ST's DFU utility using the binary version of the firmware.
Anyway, I took your advice, soldered the connector on the back of the board and have ST Visual Programmer chatting with my display board. Now I just need to get the bits on it. I tried opening the project in IAR Workbench, but got an ARM Toolchain error followed by an invalid project. Converting to run w/ ST Visual Develop (the tool I use right now) seems like it might be a bit more of a challenge then I'm ready for with my current lack of knowledge
So I was able to open and convert the file from the BIN format, to the DFU format and then back to a S19 and HEX format. When I opened these files in STVP, it looks like the 8000000 offset disappeared and I received a "Out of range" message and nothing loaded.
I know this is beyound the "call-of-duty" for the display module support, but any chance you can point me in the direction to get the 1's and 0's from the BIN file onto the metal?
Also if there is anything else I can do to help troubleshoot this effort, I have Chris's flashing software along with the ST-Link2 ready to try "stuff". Let me know.
Thanks
Kevin...
Windows Phone Development MVP
President Software Logistics, LLC
Tampa, FL
#17
Posted 16 May 2012 - 10:34 PM
If you're reflashing modules manually, I'd recommend using the Flash Loader Demo program via UART...or the ST-Link utility to flash via JTAG/SWD.Anyway, I took your advice, soldered the connector on the back of the board and have ST Visual Programmer chatting with my display board. Now I just need to get the bits on it. I tried opening the project in IAR Workbench, but got an ARM Toolchain error followed by an invalid project. Converting to run w/ ST Visual Develop (the tool I use right now) seems like it might be a bit more of a challenge then I'm ready for with my current lack of knowledge
Chris
#18
Posted 17 May 2012 - 02:44 AM
I have a solution for you to get out of "Flashlight Mode"
- Connect STLinkv2 to your PC
- Start STVP and configure it for the STM32F205xE chip
- Load the .hex version of the Touch Display firmware from the repository here (I just added it for you)
- Make sure you're on the "Program Memory" tab in STVP and hit CTRL+P (program current tab / active sectors)
Let me know how it goes.
Cheers,
-Fabien.
- ByteMaster and Grumpy Grandpa like this
#19
Posted 17 May 2012 - 01:05 PM
Hi Kevin,
I have a solution for you to get out of "Flashlight Mode"
That's it.
- Connect STLinkv2 to your PC
- Start STVP and configure it for the STM32F205xE chip
- Load the .hex version of the Touch Display firmware from the repository here (I just added it for you)
- Make sure you're on the "Program Memory" tab in STVP and hit CTRL+P (program current tab / active sectors)
Let me know how it goes.
Cheers,
-Fabien.
Simple enough - uploaded the bits to the device and I'm back in business, I'm very much looking forward to playing with the non-blocking touch features later today -
Thanks Fabien!
Kevin...
Windows Phone Development MVP
President Software Logistics, LLC
Tampa, FL
#20
Posted 10 July 2012 - 08:59 AM
...... Secret Labs needs to deliver the module flashing application that the Go! community needs.
Does anyone know if this is delivered or on it's way?
Thanks
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users