Search found 187 matches

by chad
Mon Oct 19, 2020 5:26 pm
Forum: Flowcode V8
Topic: PWM Issues
Replies: 4
Views: 235

Re: PWM Issues

Just to clarify a little of what Ben said. The optical output of the led will scale above 50% to 100%. It is actually our eyes that don't scale well. Past a certain brightness our eyes don't perceive the brightness difference well but if you measured the optical output the led is doing what it is su...
by chad
Mon Oct 19, 2020 4:39 pm
Forum: Flowcode V8
Topic: Bringing up a new chip 18f24k50 Having some problems. Resolved use OSCCON and not OSCFREQ.
Replies: 9
Views: 357

Re: Bringing up a new chip 18f24k50 Having some problems.

Little update.

I was sending data to a UART. I disabled the enable but didn't disable the sending. That was hanging the chip. I also disabled the WDT, hopefully that will fix the chip resetting.

Thank you guys for helping, It is appreciated.

Chad
by chad
Mon Oct 19, 2020 4:18 pm
Forum: Flowcode V8
Topic: Bringing up a new chip 18f24k50 Having some problems. Resolved use OSCCON and not OSCFREQ.
Replies: 9
Views: 357

Re: Bringing up a new chip 18f24k50 Having some problems.

Ok So that was a big help. OSCCON and not OSCFREQ helped. That did make it faster. The chip runs for a bit then hangs and resets but that is at least progress. I don't know where I got the oscfreq instead. I adapted my test program from another chip that was already wired up with some pin changes. T...
by chad
Mon Oct 19, 2020 4:01 pm
Forum: Bug Reports
Topic: I2C Problem on Pic18f27k42 (*UN SUPPORTED and buggy do not use this chip)
Replies: 23
Views: 875

Re: I2C Problem on Pic18f27k42 (*UN SUPPORTED and buggy do not use this chip)

Ben, FC team, Like I have said in my earlier post I have been at this almost two years. All I have done so far is help debug a tool that I have paid, and continue to pay for. I want flow code to work. I love the idea and have hopes that I can eventually, actually use it to build things. I will updat...
by chad
Mon Oct 19, 2020 2:49 pm
Forum: Flowcode V8
Topic: Bringing up a new chip 18f24k50 Having some problems. Resolved use OSCCON and not OSCFREQ.
Replies: 9
Views: 357

Re: Bringing up a new chip 18f24k50 Having some problems.

This is what I get if I set 16mhz: 18f test 1.c: main() 4195: OSCFRQ = 0x08; ^ (192) undefined identifier "OSCFRQ" (908) exit status = 1 (908) exit status = 1 Error returned from [xc8.exe] C:\Program Files (x86)\Flowcode\Common\Compilers\pic\batch\pic_xc8_comp.bat reported error code 1 Autoclose tur...
by chad
Mon Oct 19, 2020 2:31 pm
Forum: Flowcode V8
Topic: Bringing up a new chip 18f24k50 Having some problems. Resolved use OSCCON and not OSCFREQ.
Replies: 9
Views: 357

Re: Bringing up a new chip 18f24k50 Having some problems.

There is no OscHelper setting that matches. I have to disable the C-code to get it to compile. Like I said it sort-of runs. It takes 5 seconds to update my little oled display. It then hangs a after a little bit. I am totally willing to accept that I have something set wrong. I did infact. This one ...
by chad
Mon Oct 19, 2020 1:06 pm
Forum: Flowcode V8
Topic: Bringing up a new chip 18f24k50 Having some problems. Resolved use OSCCON and not OSCFREQ.
Replies: 9
Views: 357

Re: Bringing up a new chip 18f24k50 Having some problems.

Hi Stefan,

That's how I set it up.
Thanks for double checking my settings.

On the bigger chip. I realized that as soon as I saw how much memory I had left after my little test program.
I just can't seem to win.

Anyway, thanks..

Chad
by chad
Sun Oct 18, 2020 10:42 pm
Forum: Flowcode V8
Topic: Bringing up a new chip 18f24k50 Having some problems. Resolved use OSCCON and not OSCFREQ.
Replies: 9
Views: 357

Bringing up a new chip 18f24k50 Having some problems. Resolved use OSCCON and not OSCFREQ.

I gave up on the other chip, was getting no support from FC. I went with the 18f24k50 and I have it sort of running but it is really slow. I have tried to set the config but I must be doing something wrong. Does any one have a screen shot of the config settings, the clock speed under general and if ...
by chad
Sun Oct 18, 2020 10:30 pm
Forum: Bug Reports
Topic: I2C Problem on Pic18f27k42 (*UN SUPPORTED and buggy do not use this chip)
Replies: 23
Views: 875

Re: I2C Problem on Pic18f27k42 (*UN SUPPORTED and buggy do not use this chip)

I have given up on this chip and help. More money wasted.

Chad
by chad
Wed Oct 14, 2020 4:44 am
Forum: Feature Requests
Topic: Fast display ST7789!
Replies: 62
Views: 1197

Re: Fast display ST7789!

Mine are still on the slow boat. That full speed test looks great! ALL of the graphics FC drivers are slooow. I am using a 64x128 i2c black and white oled for testing now and it is slow. I tried it on an Arduino and it is many times faster. I am running it on a 64mhz chip and have the i2c cranked to...
by chad
Sat Oct 10, 2020 3:20 am
Forum: Feature Requests
Topic: Fast display ST7789!
Replies: 62
Views: 1197

Re: Fast display ST7789!

I agree I just ordered one. When I get it I will start bugging Ben to see if he can get a driver going.

Chad
by chad
Fri Oct 09, 2020 5:18 am
Forum: Bug Reports
Topic: I2C Problem on Pic18f27k42 (*UN SUPPORTED and buggy do not use this chip)
Replies: 23
Views: 875

Re: I2C Problem on Pic18f27k42 (*UN SUPPORTED and buggy do not use this chip)

Hey I need to use pwm. Any News or is this just going to be yet another...

Chad
by chad
Sun Sep 27, 2020 12:57 am
Forum: Bug Reports
Topic: I2C Problem on Pic18f27k42 (*UN SUPPORTED and buggy do not use this chip)
Replies: 23
Views: 875

Re: I2C Problem on Pic18f27k42 (*UN SUPPORTED and buggy do not use this chip)

Hi, I tried a number of settings and it didn't work. As of the latest version of the chip I can't even select hardware I2C.
It sounds like Ben might dig into the ship some more so maybe it will get fixed.

Thanks,

Chad
by chad
Sat Sep 26, 2020 2:05 am
Forum: Bug Reports
Topic: I2C Problem on Pic18f27k42 (*UN SUPPORTED and buggy do not use this chip)
Replies: 23
Views: 875

Re: I2C Problem on Pic18f27k42 (*UN SUPPORTED and buggy do not use this chip)

Abhi, That chip doesn't look bad, I'll look into it. Thanks!

Ben: I will get to the pwm this weekend and let you know what I come up with. The software I2C is working, I am running a display with it but the chip hangs when I try hardware.

Thanks,

Chad
by chad
Fri Sep 25, 2020 3:45 am
Forum: Flowcode V8
Topic: NTC thermistor Temp sensor
Replies: 68
Views: 3060

Re: NTC thermistor Temp sensor

Rather than all of this back and forth maybe Martin and Ben need to collaborate and update the Thermistor component
?
Chad
by chad
Thu Sep 24, 2020 7:41 pm
Forum: Bug Reports
Topic: I2C Problem on Pic18f27k42 (*UN SUPPORTED and buggy do not use this chip)
Replies: 23
Views: 875

Re: I2C Problem on Pic18f27k42

* Edit. I had a frustrated remark that I have deleted.
Can you recommend a comparable chip that is more supported?

Thanks,

Chad
by chad
Mon Sep 21, 2020 11:26 pm
Forum: Bug Reports
Topic: I2C Problem on Pic18f27k42 (*UN SUPPORTED and buggy do not use this chip)
Replies: 23
Views: 875

Re: I2C Problem on Pic18f27k42

Been another 9 days still nothing.

Chad
by chad
Sat Sep 12, 2020 12:56 am
Forum: Bug Reports
Topic: I2C Problem on Pic18f27k42 (*UN SUPPORTED and buggy do not use this chip)
Replies: 23
Views: 875

Re: I2C Problem on Pic18f27k42

Any news? It has been 8 days.

Chad
by chad
Thu Sep 03, 2020 7:57 pm
Forum: Bug Reports
Topic: I2C Problem on Pic18f27k42 (*UN SUPPORTED and buggy do not use this chip)
Replies: 23
Views: 875

Re: I2C Problem on Pic18f27k42

I2c hardware crashes the chip.
PWM still doesn't work.

Chad
by chad
Thu Sep 03, 2020 3:28 pm
Forum: Flowcode V8
Topic: NTC thermistor Temp sensor
Replies: 68
Views: 3060

Re: NTC thermistor Temp sensor

Hi Martin, Just a quick update. I calibrated your algorithm with my most accurate thermometer here and it tracks exactly.
I just found out that the chip I chose is yet another one that is only half- supported but your little code chunk works great!

Thanks!

Chad
by chad
Thu Sep 03, 2020 3:07 pm
Forum: Bug Reports
Topic: I2C Problem on Pic18f27k42 (*UN SUPPORTED and buggy do not use this chip)
Replies: 23
Views: 875

Re: I2C Problem on Pic18f27k42

Sigh, So why is this chip listed as supported? I would have chosen a different chip had I known that It was also half-arsed "supported". I started with FC almost two years ago, I have yet to complete an actual project. I have spent good money on this software and at every turn something is broken or...