Search found 1445 matches

by kersing
Sun Oct 21, 2018 9:14 pm
Forum: Flowcode V5
Topic: Tinybootloader RESET 12F1840
Replies: 4
Views: 1231

Re: Tinybootloader RESET 12F1840

Flowcode creates a hex file that will overwrite your boot loader if it is not told about the boot loader. You will need to research the memory used by the boot loader and where the boot loader expects the user program to live and use that information to modify the linker command. Btw, keep in mind f...
by kersing
Sun Oct 21, 2018 7:14 pm
Forum: Flowcode V8
Topic: Flowcode 8 I2C slave Macro
Replies: 2
Views: 783

Re: Flowcode 8 I2C slave Macro

Could you post a minimal flowchart demonstrating the issue you are experiencing?
by kersing
Sat Oct 13, 2018 3:11 pm
Forum: Flowcode V8
Topic: Long and ULong variables not working in fc8
Replies: 8
Views: 1305

Re: Long and ULong variables not working in fc8

See Martins message above your reply.
by kersing
Sat Oct 13, 2018 1:56 pm
Forum: Flowcode V8
Topic: Long and ULong variables not working in fc8
Replies: 8
Views: 1305

Re: Long and ULong variables not working in fc8

Does it work on hardware or in simulation for the other versions?
by kersing
Sat Oct 13, 2018 12:44 pm
Forum: Flowcode V8
Topic: Long and ULong variables not working in fc8
Replies: 8
Views: 1305

Re: Long and ULong variables not working in fc8

For math to use long type you need to assign the first value to the long type and then perform the operation on that long type variable. If you multiply two integers the result will be integer and that will be 'expanded' to long. If you assign the value to a long and then multiply the long with an i...
by kersing
Fri Oct 12, 2018 12:29 am
Forum: Flowcode V8
Topic: CJMCU-75 temp module question
Replies: 14
Views: 1883

Re: CJMCU-75 temp module question

Could you try divide by 2? (So celcius = celcius / 2)
by kersing
Fri Oct 05, 2018 12:07 pm
Forum: Programming Tips & Tricks
Topic: Working with Registers
Replies: 10
Views: 3023

Re: Working with Registers

but it this the correct 'I know what I'm doing' way ??

That is the way I’ve been doing it for years.
by kersing
Tue Oct 02, 2018 11:10 am
Forum: Bug Reports
Topic: Oscillator configuration PIC16F18313
Replies: 3
Views: 855

Re: Oscillator configuration PIC16F18313

Hi Ben,

The 'clock speed' setting just the speed for calculations is a recurring source of confusion, would it be possible to add a remark to the dialog or change the text? There is plenty of screen real estate available in that dialog for more text.
by kersing
Sat Sep 22, 2018 12:17 pm
Forum: Programming Tips & Tricks
Topic: Working with Registers
Replies: 10
Views: 3023

Re: Working with Registers

Jay,

Great write-up.

Did you test

Code: Select all

Bit5State = ( MyReg1 >> 5 ) & 32


Because I think you need to use the '&' before shifting or '&' with 1. Now if the value is 32 the result is:
32 = 0010 0000
0010 0000 >> 5 = 0000 0001
0000 0001 & 0010 0000 (32) = 0
by kersing
Sun Sep 09, 2018 2:35 pm
Forum: General Programming
Topic: Mathematic Symbol Switch case
Replies: 2
Views: 975

Re: Mathematic Symbol Switch case

In a switch you can only compare with a single numeric value. For ranges (less, greater) you need to use (multiple) decision statements.
by kersing
Thu Sep 06, 2018 9:43 pm
Forum: User Components
Topic: Arduino Library - IridiumSBD
Replies: 2
Views: 839

Re: Arduino Library - IridiumSBD

I am not surprised Matrix has not jumped on them. If you read the forum looking at what people want components for they could employ an army of developers just to create components. :D

Out of interest, what is the price of the modems and what is the pricing on the iridium connectivity plan?
by kersing
Sat Sep 01, 2018 10:01 am
Forum: Flowcode V7
Topic: ECIO40P16 and AT24C32 eeprom
Replies: 17
Views: 2424

Re: ECIO40P16 and AT24C32 eeprom

The controller on the ECIO40P16 uses 3.3V, not 5V. The ports you are using (RB6/7) are not listed as 5V tolerant so you might have damaged the controller. Use VDD Out of ECIO (Pin 1) to power the resistors and the AT24C32.
by kersing
Fri Aug 31, 2018 5:16 pm
Forum: Flowcode V7
Topic: I2C backup and Restor
Replies: 8
Views: 1649

Re: I2C backup and Restor

No,

Ranges of 64 addresses starting at 0 are:
0-63
64-127
128-191
192-255
by kersing
Fri Aug 31, 2018 5:14 pm
Forum: Flowcode V7
Topic: ECIO40P16 and AT24C32 eeprom
Replies: 17
Views: 2424

Re: ECIO40P16 and AT24C32 eeprom

kennethnilsen69 wrote:But I Have not pull-up resistors on SDA and SCL. I can not see in the AT24C32 manual that it is necessary.


I2C bus requires pull-ups. Not specific to this device.
by kersing
Fri Aug 31, 2018 5:10 pm
Forum: Flowcode V8
Topic: Analog input not working on PIC32MZ2048ecg100
Replies: 20
Views: 2640

Re: Analog input not working on PIC32MZ2048ecg100

Simulation or on hardware?
by kersing
Fri Aug 31, 2018 1:22 pm
Forum: Flowcode V7
Topic: ECIO40P16 and AT24C32 eeprom
Replies: 17
Views: 2424

Re: ECIO40P16 and AT24C32 eeprom

kennethnilsen69 wrote:Microchip is calling them:
PIN 31 = SDA2/PMA9/RP100/RF4
PIN 32 = SCL2/PMA8/RP101/RF5


That is because these pins are not available on the ECIO40P16. The controller used on it has too many pins so a subset has been mapped to the 40 pins of the module, these pins are unavailable.
by kersing
Sun Aug 19, 2018 6:50 pm
Forum: Flowcode V6
Topic: Hex back to flowcode
Replies: 7
Views: 1704

Re: Hex back to flowcode

There is no automated way to reverse the process from flowchart to chip. I can be done manually if you have sufficient knowledge and a lot of time. Recreating the flowchart will be more efficient.
by kersing
Mon Aug 13, 2018 2:20 pm
Forum: Flowcode V7
Topic: GPS component mistake?
Replies: 7
Views: 1354

Re: GPS component mistake?

It might help for debugging if you provide output from the GPS as seen in the terminal.
by kersing
Sat Aug 04, 2018 9:55 pm
Forum: General Programming
Topic: pic18f26k40 PicKit3 support
Replies: 4
Views: 1413

Re: pic18f26k40 PicKit3 support

Have you tried to download the newest software from the Microchip website? I am pretty sure the newest software does support these devices with PICkit3.
by kersing
Fri Aug 03, 2018 4:52 pm
Forum: Flowcode V8
Topic: Component for Hx711
Replies: 31
Views: 4781

Re: Component for Hx711

I read your post about the hx711 macro in 2016 (FC6), that why I ask my question. I thought it should be added to the library after two years and two FC releases. Matrix TSL can not simply grab the code a user supplies and include it in a commercial product. They at least need to have permission fr...
by kersing
Fri Aug 03, 2018 4:46 pm
Forum: Flowcode V8
Topic: Cleaning warning messages
Replies: 3
Views: 615

Re: Cleaning warning messages

I will wait for the component update. Do you have any idea when it should happen? As you mention these warnings have been present for many years so I do not expect an update that removes them any time soon. I would love for it to happen because in a larger flowchart these warnings might hide the on...
by kersing
Thu Aug 02, 2018 9:35 pm
Forum: Flowcode V8
Topic: Cleaning warning messages
Replies: 3
Views: 615

Re: Cleaning warning messages

These warnings can not be cleared in your program. Updates to the flowcode components are required to remove them. However the code will run without problems on your target.
by kersing
Thu Aug 02, 2018 5:05 pm
Forum: 8-Bit PIC
Topic: Microchip's __EPROM_DATA macro statement
Replies: 13
Views: 2134

Re: Microchip's __EPROM_DATA macro statement

So if the program, when running, later changes some of the EEPROM values, AND I later reboot/repower the chip, the EEPROM values in the chip will be the later values NOT the values from the __EEPROM_DATA statements. Reset/repower will not rewrite the values, so you will read what has been written l...
by kersing
Thu Aug 02, 2018 12:14 am
Forum: 8-Bit PIC
Topic: Microchip's __EPROM_DATA macro statement
Replies: 13
Views: 2134

Re: Microchip's __EPROM_DATA macro statement

Use the EEPROM component. It allows you to specify the initial data and generates the required code.