Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 15:42 03 Jul 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : Firewing or VB.net for PIC24HJ

     Page 3 of 4    
Author Message
vasi

Guru

Joined: 23/03/2007
Location: Romania
Posts: 1697
Posted: 01:38pm 22 Mar 2014
Copy link to clipboard 
Print this post

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!Edited by vasi 2014-03-23
Hobbit name: Togo Toadfoot of Frogmorton
Elvish name: Mablung Miriel
Beyound Arduino Lang
 
JohnL
Senior Member

Joined: 10/01/2014
Location: Seychelles
Posts: 128
Posted: 01:24am 24 Mar 2014
Copy link to clipboard 
Print this post

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: Romania
Posts: 1697
Posted: 12:37pm 24 May 2014
Copy link to clipboard 
Print this post

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 Edited by vasi 2014-05-25
Hobbit name: Togo Toadfoot of Frogmorton
Elvish name: Mablung Miriel
Beyound Arduino Lang
 
Zonker

Guru

Joined: 18/08/2012
Location: United States
Posts: 767
Posted: 06:54pm 25 May 2014
Copy link to clipboard 
Print this post

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: Romania
Posts: 1697
Posted: 01:23am 26 May 2014
Copy link to clipboard 
Print this post

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 States
Posts: 74
Posted: 02:49am 26 May 2014
Copy link to clipboard 
Print this post


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: Romania
Posts: 1697
Posted: 03:17am 26 May 2014
Copy link to clipboard 
Print this post

  Goeytex said  
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




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 States
Posts: 74
Posted: 08:55am 27 May 2014
Copy link to clipboard 
Print this post

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: Romania
Posts: 1697
Posted: 09:11am 27 May 2014
Copy link to clipboard 
Print this post

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 States
Posts: 74
Posted: 09:48am 27 May 2014
Copy link to clipboard 
Print this post

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


Edited by Goeytex 2014-05-28
 
vasi

Guru

Joined: 23/03/2007
Location: Romania
Posts: 1697
Posted: 09:57am 27 May 2014
Copy link to clipboard 
Print this post

Guilty as charged! Thanks for the measurements!
Hobbit name: Togo Toadfoot of Frogmorton
Elvish name: Mablung Miriel
Beyound Arduino Lang
 
JohnS
Guru

Joined: 18/11/2011
Location: United Kingdom
Posts: 4033
Posted: 10:16am 27 May 2014
Copy link to clipboard 
Print this post

  Goeytex said   a 4Mhz Square Wave


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 States
Posts: 74
Posted: 10:42am 27 May 2014
Copy link to clipboard 
Print this post

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: Romania
Posts: 1697
Posted: 10:50am 27 May 2014
Copy link to clipboard 
Print this post

You can use it with only these:
  Quote  Supported devices include 18F25K22, 18F26K22, 18F45K22, 18F46K22 and 18F14K50 (USB).


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: Romania
Posts: 1697
Posted: 10:54am 27 May 2014
Copy link to clipboard 
Print this post

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 States
Posts: 74
Posted: 12:04pm 06 Jun 2014
Copy link to clipboard 
Print this post

  vasi said   For PIC16F1829 you have to use Great Cow Basic (I guess you won't use JAL or Pic Micro Pascal ...).



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: Romania
Posts: 1697
Posted: 12:31pm 06 Jun 2014
Copy link to clipboard 
Print this post

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 States
Posts: 74
Posted: 07:04am 07 Jun 2014
Copy link to clipboard 
Print this post

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.
Edited by Goeytex 2014-06-08
 
vasi

Guru

Joined: 23/03/2007
Location: Romania
Posts: 1697
Posted: 08:28am 07 Jun 2014
Copy link to clipboard 
Print this post

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 States
Posts: 74
Posted: 11:10am 07 Jun 2014
Copy link to clipboard 
Print this post

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.


 
     Page 3 of 4    
Print this page
The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025