![]() |
Forum Index : Microcontroller and PC projects : Firewing or VB.net for PIC24HJ
![]() ![]() ![]() ![]() |
|||||
Author | Message | ||||
vasi![]() Guru ![]() Joined: 23/03/2007 Location: RomaniaPosts: 1697 |
Now it is my turn to say "I never heard of it!" ![]() Thanks Dietmar, I will explore it with much interest! Vasi _________ Edit: WOW! I must say this: Simply amazing! I'm sold! Hobbit name: Togo Toadfoot of Frogmorton Elvish name: Mablung Miriel Beyound Arduino Lang |
||||
JohnL Senior Member ![]() Joined: 10/01/2014 Location: SeychellesPosts: 128 |
Duinomite/Mega + MPIDE = "Arduino on Steroids" (see earlier post from Vasi about MPIDE). Runs Arduino code, no need to reinvent the wheel. MUCH, MUCH faster and more efficient than interpreter. Can use all available pins. Compare Fubarino_SD pin mapping, Duinomite schematic. In MPIDE select Fubarino_SD board PIC32MX795F512H, upload compiled hex file with Pickit3 and Microchip IPE. Still working on option of using Fubarino_SD USB Bootloader. Another option for people that have Duinomites and want to use them as Arduinos on Steroids. Check Dontronics site for discounted Duinomites. http://www.dontronics-shop.com/the-maximite-computer.html Next step is to test Duinomite with Firewing basic compiler. |
||||
vasi![]() Guru ![]() Joined: 23/03/2007 Location: RomaniaPosts: 1697 |
David continues the development of Firewing. Recently, he added support for FTDI Eve (FT800) and tested if on FTDI VM800B43A and Gameduino 2. Now you can develop games or some advanced graphic interfaces in compiled VB.NET for PIC18F, dsPIC33, PIC24 or PIC32 microcontrollers. Here, some examples: video 1 video 2 Always check the Download page and Version History from there. There is also some documentation: - page one - page two Hobbit name: Togo Toadfoot of Frogmorton Elvish name: Mablung Miriel Beyound Arduino Lang |
||||
Zonker![]() Guru ![]() Joined: 18/08/2012 Location: United StatesPosts: 767 |
Good evening Vasi..! Have been reading this thread with interest... Right now, 4-D Systems is offering a 4.3" display unit with the EVE FTDI chipset for just $35.. (30% discount) Good price for this unit..!! But, are they able to be used with the Firewing project..? As far as I can tell, the answer should be YES... I wanted to double check with you first before buying some... I checked out the video and was wondering how many "ready to run" UI Objects are in the Library... I am TOTALY new to this Firewing project but would like to get some hardware setup with the FTDI Display unit and a suitable MCU core... I like what you have been doing with the UBW32..! I do have one as well as the PICKit-3 programmer... Could I combined it with the FTDI display..? OR, should I get the Firewing hardware board..? The 4-D unit can also be had with an Arduino interface board..! Check it out... 4-D Systems Anyway, Thanks again for working this thread..! Good Info..!! ![]() |
||||
vasi![]() Guru ![]() Joined: 23/03/2007 Location: RomaniaPosts: 1697 |
Hi Zonker, I don't see why it won't work as the interface is over SPI but better check with David (the author of Firewing) because he did those videos. I only promote and sustain what it looks viable to me and my friends. Firewing is a good solution for any commercial project, it has good and tested libraries over the years (thanks to Swordfish project). It is excellent for advanced people, hackers and professionals but beginners won't do too much without one of the supported boards. The libraries use an Arduino pinout abstraction instead of standard pin assignment (as are defined in the microcontroller's header), available only for a few boards. Sources are available but you have to know what to do. UBW32 is not officially supported, I don't have it. I use Chipkit MAX32 which has only partial support but my main target is PIC18 from K series. In short, Firewing is great, but only because I know what to do with it. For others, the best choice is to acquire one of David's boards with full support. I would like a community here around Firewing but that depends on David. Hobbit name: Togo Toadfoot of Frogmorton Elvish name: Mablung Miriel Beyound Arduino Lang |
||||
Goeytex Regular Member ![]() Joined: 12/05/2014 Location: United StatesPosts: 74 |
Very interesting. I have a Chipkit UNO32 that has only been used a couple of times. Just may have to try this out since I am not too keen on the MPIDE and "Wiring" language. Any "gotchas" ? Bill |
||||
vasi![]() Guru ![]() Joined: 23/03/2007 Location: RomaniaPosts: 1697 |
As you use a supported board, there should be none. Hobbit name: Togo Toadfoot of Frogmorton Elvish name: Mablung Miriel Beyound Arduino Lang |
||||
Goeytex Regular Member ![]() Joined: 12/05/2014 Location: United StatesPosts: 74 |
OK Good, Got it up and running in no time on Chipkit Uno32. I have not used VB.net so it will take me a while to get up to speed on the syntax/structure. But I have a blinking LED going well. Execution Speed? The code below provides a 4Mhz Square Wave with: Mark = 124.3ns Space =125.6ns (As measured by TEK THS730A) [code] '*********************************** '* Name : I/O Pin Test '* Author : Goeytex '* Date : 5/27/2014 * '* Notes : CHIPKIT UNO32 '************************************* DIM PIN13 as PORTG.6 'USER LED on CHIPKIT PIN13 Sub Main() While True Toggle(PIN13) 'Toggle USER LED End While End Sub [/code] Bill |
||||
vasi![]() Guru ![]() Joined: 23/03/2007 Location: RomaniaPosts: 1697 |
How it compares with "Wiring" from MPIDE? Hobbit name: Togo Toadfoot of Frogmorton Elvish name: Mablung Miriel Beyound Arduino Lang |
||||
Goeytex Regular Member ![]() Joined: 12/05/2014 Location: United StatesPosts: 74 |
I knew you were going to ask that ! mpide-0023-windows-20130715 Mark = 708.3ns Space = 791.7ns And there is considerable jitter. There was almost no jitter using Firewing |
||||
vasi![]() Guru ![]() Joined: 23/03/2007 Location: RomaniaPosts: 1697 |
![]() Hobbit name: Togo Toadfoot of Frogmorton Elvish name: Mablung Miriel Beyound Arduino Lang |
||||
JohnS Guru ![]() Joined: 18/11/2011 Location: United KingdomPosts: 4033 |
About 4.5MHz is all I got in C I seem to remember so I think the bus matrix / arbitration / etc is a limit. Anyone know more? John |
||||
Goeytex Regular Member ![]() Joined: 12/05/2014 Location: United StatesPosts: 74 |
Using the toggle function in Firewing adds a bit of overhead. With consecutive high/low the mark time changes to 98ns while the space remains at ~125ns. This is about 4.48MHz So Firewing Basic compiles more efficiently than "Wiring C", used in MPIDE. But Firewing lacks some high level functions that I use a lot, like PULSIN. So I suppose I will have to write my own. What I really want to do with this is to eventually use it with 18F25K22, 18F45K22, and PIC16F1829 without having to use a PicKit. Bill |
||||
vasi![]() Guru ![]() Joined: 23/03/2007 Location: RomaniaPosts: 1697 |
You can use it with only these: For 18F25K22 and 18F45K22 there is a Firewing bootloader with sources. For 26/46 you have to modify the sources or use another serial bootloader as AN1310. Hobbit name: Togo Toadfoot of Frogmorton Elvish name: Mablung Miriel Beyound Arduino Lang |
||||
vasi![]() Guru ![]() Joined: 23/03/2007 Location: RomaniaPosts: 1697 |
For PIC16F1829 you have to use Great Cow Basic (I guess you won't use JAL or Pic Micro Pascal ...). Hobbit name: Togo Toadfoot of Frogmorton Elvish name: Mablung Miriel Beyound Arduino Lang |
||||
Goeytex Regular Member ![]() Joined: 12/05/2014 Location: United StatesPosts: 74 |
I have actually installed & tested JALv2 on several PICs, and I like it a lot. Next I will try Pic Micro Pascal and see how that works out. |
||||
vasi![]() Guru ![]() Joined: 23/03/2007 Location: RomaniaPosts: 1697 |
Wow, now I can't wait to read your final conclusion. Hobbit name: Togo Toadfoot of Frogmorton Elvish name: Mablung Miriel Beyound Arduino Lang |
||||
Goeytex Regular Member ![]() Joined: 12/05/2014 Location: United StatesPosts: 74 |
Well, Pic Micro Pascal does not look too promising at this point. After installing and making sure that the locations for the MPSAM SUITE were correct, I tried to build several of the example projects. All FAILED will various errors. Every attempt at building a project resulted in the following error: *** I'm afraid that I got an internal error: Access violation at address 005432DB in module 'pmp_ide.exe'. Read of address 00000038. I am using Win7 and MSPAM 5.51 Looks like this one will be shelved for now. |
||||
vasi![]() Guru ![]() Joined: 23/03/2007 Location: RomaniaPosts: 1697 |
I will try a fresh install of PMP on my Windows and if succeeded, I will describe the process in another thread. Hobbit name: Togo Toadfoot of Frogmorton Elvish name: Mablung Miriel Beyound Arduino Lang |
||||
Goeytex Regular Member ![]() Joined: 12/05/2014 Location: United StatesPosts: 74 |
Pic Micro Pascal seems to work OK on a Windows XP system with MPLAB 8.60 /MPASM 5.31. I removed MLAB 8.92 before installing MPLAB 8.6 since the documentation says that 8.6 is the latest version tested. Then installed PMM 6.2.96. One of the sample projects was then opened and it compiled without errors. At least now I can play around with now to see how I like it. But first I must get rid of that awful looking blue background in the IDE text window. While I cannot get back to it right away, I suspect that on the WIN7 installation that the configuration was not pointing correctly to one of the MPLAB directories causing the linker not to work. |
||||
![]() ![]() ![]() ![]() |
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |