You're re-inventing what the Widget event handler is already doing
![Posted Image](http://forums.netduino.com/public/style_emoticons/default/tongue.gif)
I hope this helps.
Cheers,
-Fabien.
![]() |
  | |||||||||||||
![]() |
|
![]() |
||||||||||||
The Netduino forums have been replaced by new forums at community.wildernesslabs.co.
This site has been preserved for archival purposes only
and the ability to make new accounts or posts has been turned off.
Fabien Royer's ContentThere have been 203 items by Fabien Royer (Search limited from 22-June 23) #28830 Information on Nwazet Display Go! module
Hi Len,
You're re-inventing what the Widget event handler is already doing ![]() I hope this helps. Cheers, -Fabien. #27030 Information on Nwazet Display Go! module
Yes: raw 16-bit / pixel bitmaps.
If you can convert mpeg frames or H.264 frame to raw 16-bit bit streams, you can, even though the frame rate will be limited by the bandwidth provided by SPI as well as the size of the (8KB) buffer currently used. Nothing prevents you from tuning the firmware for your application (Ah! The beauty of OSS ![]() Cheers, -Fabien. #27830 Information on Nwazet Display Go! module
Hi Steve,
There isn't one in this revision of the module and here's why: the ILI9341 IC driver of the display I'm using does have a PWM backlight control circuit that is configurable through software commands (Write Display Brightness (51h) page 141 of the datasheet). The manufacturer of the display omitted to connect it to the backlight ![]() -Fabien. #27202 Information on Nwazet Display Go! module
Carb,
So you know, I'm not using anything that has to do with Micorsoft.SPOT.Font.
The font definitions in the C# code are only used to track the variables sizes of the characters in each font.
The actual fonts are in the display's firmware. This makes things very efficient for display as the C# code only passes a font ID to reference a given font when needed.
Hope it helps.
-Fabien.
#27336 Information on Nwazet Display Go! module
Hi Chuck,
Sorry that I wasn't clear.
Nothing is hard-coded. you can plug the display into any socket you like. You just need to specify which one it is in the initialization call.
-Fabien.
#27322 Information on Nwazet Display Go! module
Hi Charles,
Nope: to initialize a module you must have a socket associated with it.
That's a different thing: you could send an SPI query identical to the one used in canvas.Initialize() to retrieve the module's ID and take it from there if it corresponds to the display. What is the scenario for doing this? #27844 Information on Nwazet Display Go! module
Hi Eric,
SD cards modules aren't available yet but it's easy to connect one ![]() http://fabienroyer.w...ng-out-sockets/ http://fabienroyer.w...-to-a-netduino/ I'm surprised to hear that the demo 'crashes' because the 2 places where the SD is referenced use a try / catch : public static void BmpImageTest(VirtualCanvas canvas) { try { var sd = new SDCardReader(); sd.Initialize(GoSockets.Socket8); DisplayBmpPicture(canvas, @"Nwazet\03.bmp"); DisplayBmpPicture(canvas, @"Nwazet\05.bmp"); DisplayBmpPicture(canvas, @"Nwazet\09.bmp"); canvas.SetOrientation(Orientation.Landscape); DisplayBmpPicture(canvas, @"Nwazet\00.bmp"); DisplayBmpPicture(canvas, @"Nwazet\01.bmp"); DisplayBmpPicture(canvas, @"Nwazet\02.bmp"); DisplayBmpPicture(canvas, @"Nwazet\04.bmp"); DisplayBmpPicture(canvas, @"Nwazet\06.bmp"); DisplayBmpPicture(canvas, @"Nwazet\07.bmp"); DisplayBmpPicture(canvas, @"Nwazet\08.bmp"); sd.Dispose(); }catch(Exception e){ Debug.Print(e.Message); Debug.Print("You need an SD card loaded with the demo photos to run this part of the demo."); } } Here's the output when running w/o an SD card reader Available RAM: 88380 bytes. A first chance exception of type 'System.IO.IOException' occurred in SecretLabs.NETMF.IO.dll SD Card or file I/O error: manual calibration required. A first chance exception of type 'System.ApplicationException' occurred in Nwazet.Go.SD.dll socket already bound You need an SD card loaded with the demo photos to run this part of the demo. <...> Which specific line did you comment out? I'll gladly update the demo code if I can repro the issue. Cheers, -Fabien. #29341 Information on Nwazet Display Go! module
This is expected and I released a firmware update for the display that allows to scan for touch events w/o blocking earlier this week.
Please see this thread: http://forums.netdui...-announcements/ Cheers. -Fabien. #29488 Information on Nwazet Display Go! module
The time for a hardware update will happen when we have exhausted our existing stock and at the moment, I have no idea when that's going to happen.
As far as doing it yourself goes: I would not recommend modifying the touch display board unless you really know what you're doing.
#29485 Information on Nwazet Display Go! module
Hi neslekkim,
Brightness control can only be achieved with a hardware change, not a firmware change unfortunately.
Cheers,
-Fabien.
#27026 Information on Nwazet Display Go! module
Yup
![]() #46224 How to upgrade to the .NET Micro Framework v4.3 SDK
Chris,
"[color=rgb(40,40,40);font-family:helvetica, arial, sans-serif;font-size:14px;]I'm guessing that 10.5 mbps was too fast for the module. That's a lot of data for a 48MHz microcontroller to handle that's also updating a display...so 5.25 mbps seems totally reasonable"[/color]
[color=rgb(40,40,40);font-family:helvetica, arial, sans-serif;font-size:14px;]You guessed wrong.[/color]
In both cases, the processing work that they perform is independent of the SPI communication throughput because it's buffered and asynchronous. A simple examination of our SPI over DMA source code would have avoid a misleading statement.
For the record, throughput has never been an issue with our modules until GoBus introduced SPI handling changes. #35644 Getting started with Nwazet Display
Hi Bendage,
Sorry that you're having difficulties putting together your project from the binary assemblies. I'll look into why that is and will make corrections as needed. I've also been thinking about creating tutorials and code snippets, similar to the ones I created for the DAQ module. In the meantime, you can do the following:
I hope this helps. Cheers, -Fabien. #35649 Getting started with Nwazet Display
GregR,
Yup. An installer solution is what we'll be using to simplify things.
-Fabien.
#35650 Getting started with Nwazet Display
Bendage,
I suspect that something went wrong when I recently merged multiple source trees during the release of the DAQ module code, even though I did a regression pass to make sure all projects built, deployed and ran.
-Fabien.
#35661 Getting started with Nwazet Display
public void DrawFill(ushort color)
![]() #35647 Getting started with Nwazet Display
This will get you unblocked for now
![]() #31863 Getting serial data into ND Go
Yup. I'm using a serial port on the Netduino Go! itself, not on the Shield Base. -Fabien. #46715 GetSocketsByUniqueId - not working?
[font="arial, sans-serif;font-size:12.800000190734863px;"]Hi Asbjorn,[/font] I have a DAQ demo (https://bitbucket.or...Demo?at=default) in the repository that works just fine with the following modules:
It's using .Net MF 4.2.2 or something like that, which still requires dropping the speed on the SPI bus. It's been extremely stable and has been running for months now. I don't use any module discovery features. In my experience, sticking with the basics of .Net MF is the only reliable way to go with Netduino Go. Cheers, -Fabien. #36991 Flashing Go Modules using ST Microelectronics’ Flash Loader Demonstrator
In this video, I demonstrate how to build a simple breakout board to connect a Go! module to an FTDI ‘USB to Serial’ breakout board for the purpose of updating the module’s firmware. The application used to download the firmware to the module is provided by ST Microelectronics. This method has been tested with ARM Cortex Mx and STM8S chips and works very reliably.
http://www.youtube.com/watch?v=jB3nFQso2Vs Cheers, -Fabien. Links & References Nwazet Source repository Nwazet firmware files Map file for the STM32F051x Adafruit FTDI Friend + extras - v1.0 Adafruit USB FTDI cable - TTL-232R 3.3V Sparkfun FTDI Basic Breakout - 3.3V Sparkfun FTDI Cable 5V VCC-3.3V I/O ST Flash Loader Demonstrator Netduino Go! IDC Cable Breakout Netduino GO! Hacking - Breaking out sockets #37042 Flashing Go Modules using ST Microelectronics’ Flash Loader Demonstrator
Thanks Stan,
You're correct: there must be a bootloader on the chip.
Not all versions of the STM8S have a UART bootloader unfortunately, and those require SWIM programming.
All ARM Cortex M chips do have one.
Cheers,
-Fabien.
#37049 Flashing Go Modules using ST Microelectronics’ Flash Loader Demonstrator
About flashing the STM8S serially: this document by ST describes in details the STM8 bootloader and which STM8S versions feature a bootloader: http://www.st.com/in.../CD00201192.pdf
This may be helpful for anyone considering building modules based on the STM8S and would like to ensure that they are easily field-upgradable.
For versions that do not have an embedded bootloader, it is possible to add one in software and there are reference implementations provided by ST to do so.
Cheers,
-Fabien.
#32823 Ethernet Module Update
Chris,
While the tool is capable of flashing an STM32F0x chip, it is missing several STM32F0 device map files. I created a map file for the STM32F051 Medium Density with 64K of flash (see the attachment) and tested it against an STM32F051 Discovery board. -Fabien. Attached Files
#31825 Ethernet Module Update
Thanks for the update Chris. You made my day
![]() #32814 Ethernet Module Update
Hi Chris,
About this:
1. Are you sure about the ST Flash Loader application? Version 2.5.0 does not support flashing the STM32F0x series. Can you please share a link to the updated tool? 2. About the 'reflash tool provided on Netduino': can you please provide a link to the RTM version of the tool? The last version I tested did not work properly with the Display Module. Thanks, -Fabien.
| ||||||||||||||
![]() |
||||||||||||||
![]() |
|
![]() |
||||||||||||
![]() |
This webpage is licensed under a Creative Commons Attribution-ShareAlike License. | ![]() |
||||||||||||
![]() |