Search found 24 matches

by Beertree
Sat Jul 02, 2016 2:46 pm
Forum: Flowcode V6
Topic: WARNING: This interrupt ...
Replies: 2
Views: 3190

Re: WARNING: This interrupt ...

Hello LeighM,
thanks for the reply. You were right. At one point I have to latch a few int registers before going into sleep mode. I did now put all the int stuff in an extra macro and the messages are gone. Perfect!

regards
by Beertree
Sat Jul 02, 2016 1:29 pm
Forum: Flowcode V6
Topic: WARNING: This interrupt ...
Replies: 2
Views: 3190

WARNING: This interrupt ...

Hi at all, what causes an error like: 20160701_K20_3V7.c(3138): WARNING: This interrupt has previously been enabled, so the macro <Pair> may never get called. ? I mean, I never did disable this Interrupt. Next question is, how do I find the corresponding Icon to that message in the flowchart? Regard...
by Beertree
Fri May 13, 2016 6:16 am
Forum: Flowcode V6
Topic: Simplest programm does not work- UART PIC
Replies: 5
Views: 5319

Re: Simplest programm does not work- UART PIC

A bit late, but I want to let others to know, that I were not able to solve the problem with a other crystal and reduced the baud rate. Meanwhile I have another project with the ftdi-chip nearby the processor, which works fine at 115kbaud. I guess, the problem was the hardware design of the eb006 bo...
by Beertree
Fri May 13, 2016 6:04 am
Forum: E-blocks
Topic: EB 006 Version 9
Replies: 4
Views: 8621

Re: EB 006 Version 9

A bit late, but 5v targetvol. and the walladapter set ro 9v.
by Beertree
Fri May 13, 2016 6:00 am
Forum: Deutsch Support-Forum
Topic: Verständnisfrage vor dem Kauf: Pulslänge messen
Replies: 1
Views: 12642

Re: Verständnisfrage vor dem Kauf: Pulslänge messen

Hallo, Könntest Du evtl. Deine Hardware/Plattform bzw. die Anwendung etwas beschreiben? So ist es schwierig. Grundsätzlich ist das Timing ja nicht von Flowcode abhängig, sondern vom eingesetzten Controller. Für die meisten Befehle werden vier Arbeitstakte benötigt, evtl. kannst du an dem erzeugten A...
by Beertree
Wed May 11, 2016 4:13 pm
Forum: Flowcode V6
Topic: Ultra Low Power Wakeup Timer (Ulpwu)
Replies: 3
Views: 4209

Re: Ultra Low Power Wakeup Timer (Ulpwu)

Hello again, After further Investigations and a lot of disappointing tries with no progress I think I need to ask the question a bit more precisely. I want to use the low power timing module of the PIC, which is a very useful function to save energy and wake up the PIC in more or less precise interv...
by Beertree
Sun May 08, 2016 11:30 am
Forum: Flowcode V6
Topic: Ultra Low Power Wakeup Timer (Ulpwu)
Replies: 3
Views: 4209

Re: Ultra Low Power Wakeup Timer (Ulpwu)

Hello again and thank you for the reply, I added a latch command in the program but there is still no progress. On the scope I can see that the capacitor is charging and discharging (yellow) but the pic still doesn't wake up once in sleep. I orientated on the ASM given in the datasheet: BCF STATUS,R...
by Beertree
Mon May 02, 2016 5:21 pm
Forum: Flowcode V6
Topic: Ultra Low Power Wakeup Timer (Ulpwu)
Replies: 3
Views: 4209

Ultra Low Power Wakeup Timer (Ulpwu)

Good day, I ve got problems initialzing the ulpwu/current sink on a PIC16F687 chip. Especially the interrupts are not waking up the device in sleep mode. Isnt the set_bit and the clear_bit function working in Flowcode or is my syntax wrong? What I want to do is a) Charge the capacitor on RA0 by conf...
by Beertree
Sat Apr 02, 2016 12:05 pm
Forum: Bug reports
Topic: RS232 Second Channel does not work. - Resolved
Replies: 5
Views: 13969

Re: RS232 Second Channel does not work.

Good day, Medelec. I testet the fix now in a few different scenarios with different baudrates and hardware and everything works just perfect. Thanks again!
by Beertree
Sun Mar 27, 2016 12:59 pm
Forum: Bug reports
Topic: RS232 Second Channel does not work. - Resolved
Replies: 5
Views: 13969

Re: RS232 Second Channel does not work.

Good day Medelec,
it seems to be working perfectly now. I will test it withhin the next week in another two Targets and will give you a final Feedback then. I am astonished how fast you solved the Problem, thank you very much!
by Beertree
Fri Mar 25, 2016 12:14 pm
Forum: Bug reports
Topic: RS232 Second Channel does not work. - Resolved
Replies: 5
Views: 13969

RS232 Second Channel does not work. - Resolved

Good day,
I am using a PIC18F46K22 with two uarts. I have writte a small program which uses RS232 Channel 1 and works fine. When I change to RS232 Channel 2, it does not work? What can be the faillure? Do I have to change anything else?
by Beertree
Thu Mar 17, 2016 4:46 pm
Forum: Flowcode V6
Topic: RS232 Receiving
Replies: 1
Views: 2367

RS232 Receiving

Good day, i am struggeling bringing RS232 to work. I am using a PIC18F46K22 at 19,6608 MHz. Sending to HTerm works fine at 57600 Baud. When I want to receive chars one by one (eg 0x11)it works fine. When i try to receive "0x11 0x22 0x33 0x44 0x55" i get only "0x11 0xff 0x22 0x33". I tried to reduce ...
by Beertree
Wed Mar 16, 2016 3:56 pm
Forum: Flowcode V6
Topic: Switch gpio between input and output
Replies: 6
Views: 4211

Re: Switch gpio between input and output

Thank you, that solved my problem
by Beertree
Wed Mar 16, 2016 12:01 pm
Forum: Flowcode V6
Topic: Switch gpio between input and output
Replies: 6
Views: 4211

Re: Switch gpio between input and output

Ok. The pin is conected to a display/touch module. During startup the state of the connected pin on the the display has to be active low. After startup procedure the display module signals on that same pin with a active low state, if there has been a touch action. So my question is: if i put that pi...
by Beertree
Wed Mar 16, 2016 11:42 am
Forum: Flowcode V6
Topic: Switch gpio between input and output
Replies: 6
Views: 4211

Re: Switch gpio between input and output

Thank you, for your fast reply. What will happen, if ill set an output to high state and then use it as an input and ask for its status. Will the pin stay high?
Regards
by Beertree
Wed Mar 16, 2016 9:51 am
Forum: Flowcode V6
Topic: Switch gpio between input and output
Replies: 6
Views: 4211

Switch gpio between input and output

Hello there,
I am using a Pic18 for my project. One pin needs to be switched between input and output mode during operation. How do i realise that?
by Beertree
Mon Jun 01, 2015 7:09 pm
Forum: Flowcode V6
Topic: Simplest programm does not work- UART PIC
Replies: 5
Views: 5319

Re: Simplest programm does not work- UART PIC

Thank you again! . Thank you for your hints, I will try to figure it out, when there is time again within the next days.
by Beertree
Mon Jun 01, 2015 2:41 pm
Forum: Flowcode V6
Topic: Simplest programm does not work- UART PIC
Replies: 5
Views: 5319

Re: Simplest programm does not work- UART PIC

Hello Martin, Thanks for your fast reply. At 19200 things seem working fine. I attached both, the hterm screenshot and the transient reading again. Maximum I can use is 57600 baud. The it doesnot function anymore. I also give you the reading of the one second check. I think the timing is accurate. W...
by Beertree
Mon Jun 01, 2015 12:39 pm
Forum: Flowcode V6
Topic: Simplest programm does not work- UART PIC
Replies: 5
Views: 5319

Simplest programm does not work- UART PIC

Since a few days I am having serious trouble with communicating via serial interface between terminal and a PIC. I am using the eb006v9 with a 20MHz crystal, newest Flowcode 6 Version, Pickit 3 and a pic18f46k22. Everything seems to work fine instead of rs232 communication. To isolate the problem, I...
by Beertree
Mon May 18, 2015 9:58 am
Forum: Flowcode V6
Topic: Check the supported controllers before ordering hardware!
Replies: 14
Views: 39476

Re: Check the supported controllers before ordering hardware

Hello at all, thank you for this post. I looked in the list of supported devices before ordering. I then ordered the pic18f46k22. Programming worked only the first time. Now I found several posts that it is no supported by the in-built icd of the eb006v9. Which pic is the most powerful one I may use...
by Beertree
Sun May 03, 2015 7:28 am
Forum: Bug reports
Topic: RS232 works in sim but not real (Flowcode v6)
Replies: 3
Views: 5276

Re: RS232 works in sim but not real (Flowcode v6)

Hi Martin,
now it is working! Tricky thing. Thank you so much!

Yours
Marten
by Beertree
Sat May 02, 2015 8:28 am
Forum: Bug reports
Topic: RS232 works in sim but not real (Flowcode v6)
Replies: 3
Views: 5276

RS232 works in sim but not real (Flowcode v6)

Hello at all, I am working since two days on the same problem. I want to send a combined string via RS232 SendString function with PIC 16 F 1937. The attached program first sends a constant string via that function. That works fine. When I then try to send a string which is produced via a Str=Str+St...
by Beertree
Thu Apr 30, 2015 8:13 am
Forum: E-blocks
Topic: EB 006 Version 9
Replies: 4
Views: 8621

Re: EB 006 Version 9

Hi,
Thank you for the fast response. Using USB-Power does not work either. I now solved the problem myself. When I feed in 5V directly (after the regulator) everything works fine. The board is simply not ok.
by Beertree
Wed Apr 29, 2015 4:57 pm
Forum: E-blocks
Topic: EB 006 Version 9
Replies: 4
Views: 8621

EB 006 Version 9

Hi at all, I just started with Flowcode 6 and the Multiprogrammer EB-006-00-9, supplied by usb. Power LED is on. when I try to Programm the device, i get the following Error.
What is wrong? Using the external supply makes no difference.