Search found 586 matches

by octal
Wed Oct 28, 2015 10:31 am
Forum: Compiler
Topic: Compiler Const bug?
Replies: 15
Views: 7058

Re: Compiler Const bug?

I can't see where is the problem. A "const" is not a variable. It has no memory location. Declaring a const doesn't create any "object". The compiler will internally create and hold a simple value tagged with the correct type obtained either from the numerical constant used, or from the deduced type...
by octal
Sun Oct 11, 2015 10:03 pm
Forum: Modules
Topic: Hid bootloader and 18f2550
Replies: 15
Views: 16724

Re: Hid bootloader and 18f2550

Depending on the device sizen, portE is implemented differently on PIC18Fxx50. On 28 pin devices, you have only RE3 implemented and it's always input, so you **don't** have any TRIS register associated to this port. You don't even need to configure it as input since it's always input. You simply rea...
by octal
Sun Aug 16, 2015 10:42 am
Forum: IDE
Topic: MPLAB-X Plugin...
Replies: 64
Views: 113940

Re: MPLAB-X Plugin...

Hi Tom, Tom, it's actually not that bad. All this time I never realized I had that button on, so that's why I couldn't see the local variables. The locals automatically appear for you when you enter/leave a routine, so you don't need to do anything special to see them. That's sort of handy. I agree ...
by octal
Fri Aug 14, 2015 8:40 pm
Forum: IDE
Topic: MPLAB-X Plugin...
Replies: 64
Views: 113940

Re: MPLAB-X Plugin...

Hi Jerry, RadioT, sorry that you have some troubles with MPLabX IDE file management. Well, I'll try to explain some of the problems I faced with Microchip file management in the project. Actually, you must understand that in the "Project" view of the IDE, the tree structure you are seing is a pure "...
by octal
Wed Aug 12, 2015 8:17 pm
Forum: IDE
Topic: MPLAB-X Plugin...
Replies: 64
Views: 113940

Re: MPLAB-X Plugin...

Propose a survey .. :wink: No need for a survey. I'll keep updating the plugin for each version until I can see that MPLabX v3.xx is stable and mature enough. From my personal experience, there will always be people using v2.xx because they can't upgrade their Java Virtual Machine for some reason, ...
by octal
Wed Aug 12, 2015 12:00 pm
Forum: IDE
Topic: MPLAB-X Plugin...
Replies: 64
Views: 113940

Re: MPLAB-X Plugin...

Hi Jerry,
v3 is based on the new API introduced with netbeans 7.xx and it's far better than the old one. I really appreciate their move. But v3 removes support for PICKit2 and this is problematic for most hobbyists using this tool.
In the readme file, in the Unsupported Tools section you can read:
by octal
Wed Aug 12, 2015 7:32 am
Forum: IDE
Topic: MPLAB-X Plugin...
Replies: 64
Views: 113940

Re: MPLAB-X Plugin...

Hi David, unfortunately this is the problem with all those languages and frameworks that uses declarative approach to make the program check API compatibility. There is no way to have a single plugin for both versions. Netbeans APIs changed a lot from version 6.9 to 7.xx. While I can just hack by ha...
by octal
Tue Aug 11, 2015 9:45 am
Forum: IDE
Topic: MPLAB-X Plugin...
Replies: 64
Views: 113940

Re: MPLAB-X Plugin...

Well, the plugin can't be installed on MPLabX v3.xx. The plugin editor library seems to be NOT compatible with old versions. Next weekend, I'll upgrade the plugin and recompile it for the new version. Microchip upgraded their java toolchain and requirements for MPLabX v3.xx. I'll check during this w...
by octal
Mon Aug 10, 2015 9:46 am
Forum: IDE
Topic: MPLAB-X Plugin...
Replies: 64
Views: 113940

Re: MPLAB-X Plugin...

Hi at all, for which version of MPLAB-X was made? I have tried it on v2.30 and v2.35. I'll try it on v3.xx during this week (need to create a new virtual machine in order to test it in a clean environment and with different versions of java virtual machines). But be CAREFUL, from what I have seen o...
by octal
Thu May 28, 2015 8:22 am
Forum: Compiler
Topic: Pointers in SF
Replies: 2
Views: 1907

Re: Pointers in SF

Hello,
there are no pointers in SF. "p" stands for "Parameter" I guess.
You can instead do indirect addressing using AddressOf( ) and using TABLEPTR for ROM and FSRx for RAM.
by octal
Wed May 13, 2015 9:24 am
Forum: General
Topic: 8 bit PIC with 4 PWM channels
Replies: 3
Views: 4284

Re: 8 bit PIC with 4 PWM channels

Thank you for your answers. @SHughes_Fusion I didn't used MAPS because it doesn't provide frequency range as a parameter. @Jerry This project is for a friend. If it was me I would have used an STM32 (Cortex-M) chip which has very nice timers (though more complex to use), but he need a DIP package. T...
by octal
Mon May 11, 2015 7:57 pm
Forum: General
Topic: 8 bit PIC with 4 PWM channels
Replies: 3
Views: 4284

8 bit PIC with 4 PWM channels

Hello,
I have been far from 8bit chips for a while. I just wanted to know if anyone is aware of an 8bit chip (PIC preferably) having 4 PWM output channels and that can achieve about 30Hz up to 150KHz.

Thx
by octal
Mon May 11, 2015 12:50 pm
Forum: Modules
Topic: Speed USART
Replies: 9
Views: 7684

Re: Speed USART

Be careful with this implementation. The loop variable "i" is a BYTE type variable, that means that if your g_UsartBuffer(2) variable is equal to ZERO, the loop will be executed from 0 to (-1) :wink: Also, if you send frequently long buffers of data (with more than 1 byte), you better avoid the syst...
by octal
Sun Apr 05, 2015 1:42 pm
Forum: Modules
Topic: Unexpected Symbol ??
Replies: 2
Views: 3642

Re: Unexpected Symbol ??

It's difficult to guess the origin of the problem from your description. Could you, please, post a complete minimalist program showing this behaviour? PS. When copying/Pasting code from the help file or from web pages, take care to not paste special chars. For example, single quotes can be converted...