As soon as the code reaches the 2nd code page, I encounter problems. It looks as if branchlo_set and branchlo_clr (status bit pa0) are activated, but ? Used a...
Hi Bert, ... I copied your code and it compiles here without errors! Please provide more info, such as compiler version, compiler console log. One positive...
1 The very beginning: JAL FAQ version 1.0 March 23, 2008 1 1.1 JAL? PIC? Where do I start? 1 1.2 Where to get JAL? 1 1.3 Which PIC? 2 1.4 What's all this JAL...
jallist@yahoogroups.com
Mar 1, 2009 4:54 pm
26619
Hi guys, I have quite a weird problem I can't understand, using "byte out" in a procedure. This is black magic for me... Here's the code: procedure...
Hi Seb, ... You don't show or mention that sleep_value is actually used in your program. If it isn't and it is not volatile, then it could be optimised away. ...
... problems. ... provide ... bit*3 ... core ... Hello Rob, Thank you for the fast response. Indeed it compiles "correctly" but the LED (pin_b4) does not flash...
Hi Bert, ... Aha, I understood you had a compile time problem... I'm afraid a compiler expert should jump in. ... Compiler OK, device file is probably OK too....
sleep_value is used. This was an example, but for my test, I set a value which is used for PWM software. But can a value passed as "byte out" be optimized away...
Greetings, ... global ... OK, I've finally had time to look into this. The problem is more an odd error than anything. Strings, and array in general, aren't...
Hello Rob, ... the source tree. From time to time these files are improved! Tried it this morning, but the problem stays. ... not intended for 'public' use...
Hello Rob, The 16f505.jal shows pragma target bank 0x0020 pragma target page 0x0200 Are that the sizes of a bank and page? If so: A bank of a 16f505 is...
Hi Bert, ... Well, I could agree that PSA and PS2..0 will frequently be used together, but these are separate entities, and the user should be able to handle...
Hi Bert, ... Read the file JalPragm.txt which comes with the compiler for a description of all JalV2 pragmas. How did you conclude or where did you find that...
Hello Rob, ... The Microchips specification (2005) figure 4-5 shows 4 banks, but indeed 8 General Purpose registers "cloned" to each bank and 4x16 "unique"...
... This is not a compiler error! The compiler works with the information about the PIC provided by the device file, which in the case of the 16f505 is 64 data...
Thanks Kyle, I was wondering if you could fool the compiler by something like var byte str1[16] var byte str2[16] at str1 = "this is a string" ;writes to str1...
This is my first use of CASE and it causes the compiler to hang. procedure runSetupMenu() is ;Starts the menu ; var byte focusLineStart ;start line number...
Kyle, You were thinking about better memory usage. How is that coming along? I've used 341 and have 27 bytes left. I still have lots of programming to do so...
Dear all, I am using PIC16F876A and interested to use both the PWM operations at pin_c1 and pin_c2. I want to use analog pin a0 and a1 as inputs and...
... Check out the appendix where the pwm commands are discussed. The commands: PWM_init_frequency(pwm1, pwm2) PWM_set_dutycycle(pwm1, pwm2) control both pwm...
[Default] On Mon, 02 Mar 2009 17:17:14 -0500, Gordon Williams ... It does not actually hang. It does, however, go into a never ending loop, so that JalEdit...
Hi, I'm hoping that someone can suggest a better way as what I have is a bit of a kludge. I have a lot of parameters (roughly 500) that I need to adjust...
JAL V2.4i I'm wondering if the PCLATH is set twice and the first set is not needed. ; 78 fm2trim[i] = junk[i+8] movlw 8 datalo_set v___i_2 datahi_clr...
Don't worry, I've found a reasonable work around ;) Am I the only one using JAL these days for something other than blinking LEDs? Gordon Williams ... From:...
Greetings, ... I give up, why? The compiler doesn't know where _lookup_junk will be until the very last stage of compilation, hence the reason for WHEREIS(). ...
... Thanks alot Joep, that has helped a great deal, unfortunatley i have little time at the moment but i'll be getting back to this is a short while....
I found a lot of info on the web about this usb driver, but not in jal, does anyone has experience with this device, and maybe some example programs? I 'll try...