Author |
Message |
Topic: UART BRGH10K error |
Scottzilla
Replies: 8
Views: 18145
|
Forum: General CCS C Discussion Posted: Sat May 27, 2017 2:43 pm Subject: UART BRGH10K error |
4 years later and the wizard still spells BRGH1OK wrong! |
Topic: 18F4550 + Enhanced CPU |
Scottzilla
Replies: 21
Views: 25645
|
Forum: General CCS C Discussion Posted: Sat Feb 16, 2013 6:51 pm Subject: 18F4550 + Enhanced CPU |
For which part? |
Topic: 18F4550 + Enhanced CPU |
Scottzilla
Replies: 21
Views: 25645
|
Forum: General CCS C Discussion Posted: Tue Jan 01, 2013 12:36 pm Subject: 18F4550 + Enhanced CPU |
Sheesh, that was a pain to build. It fixed the problem, though, and the bootloader now writes the entire code.
LMK if anyone needs fw_update.exe for 32k parts. |
Topic: 18F4550 + Enhanced CPU |
Scottzilla
Replies: 21
Views: 25645
|
Forum: General CCS C Discussion Posted: Sat Dec 29, 2012 12:14 pm Subject: 18F4550 + Enhanced CPU |
Scottzilla,
We don't want to spoon feed you everything.
Definitely don't want/need to be spoonfed. I'm mostly logging my progress here in hopes that what I figure out will be helpful to others a ... |
Topic: 18F4550 + Enhanced CPU |
Scottzilla
Replies: 21
Views: 25645
|
Forum: General CCS C Discussion Posted: Fri Dec 28, 2012 4:10 pm Subject: 18F4550 + Enhanced CPU |
I think this line in pic_bootloader.h might be what needs to be changed:
#define BOOT_FLASH_SIZE 0x6000 /* Program Memory Size */ |
Topic: 18F4550 + Enhanced CPU |
Scottzilla
Replies: 21
Views: 25645
|
Forum: General CCS C Discussion Posted: Fri Dec 28, 2012 9:54 am Subject: 18F4550 + Enhanced CPU |
Current challenge: Since this was originally made for a 24Kbyte part, it's loading my code just fine except for the fact that it cuts it off after 0x5fff. Has anybody figured out where to increase th ... |
Topic: 18F4550 + Enhanced CPU |
Scottzilla
Replies: 21
Views: 25645
|
Forum: General CCS C Discussion Posted: Wed Dec 26, 2012 9:32 pm Subject: 18F4550 + Enhanced CPU |
Turned out to be an encryption key problem. I wasn't formatting it right when specifying it in xtea.asm. Using "abcdefghijklmnop" in the .asm file and 6162636465666768696a6b6c6d6e6f70 in t ... |
Topic: 18F4550 + Enhanced CPU |
Scottzilla
Replies: 21
Views: 25645
|
Forum: General CCS C Discussion Posted: Wed Dec 26, 2012 5:05 pm Subject: 18F4550 + Enhanced CPU |
The code won't run. I made some simple blinky-led code, which runs fine when programmed directly. I used #build to move the reset vector to 0x800 (I moved the interrupt vector too, but this test cod ... |
Topic: 18F4550 + Enhanced CPU |
Scottzilla
Replies: 21
Views: 25645
|
Forum: General CCS C Discussion Posted: Tue Dec 11, 2012 3:49 am Subject: 18F4550 + Enhanced CPU |
It's no longer stuck in bootloader mode. That French article pointed out a bug and that's what was causing it:
Fixed a bug:
In the boot.asm file has slipped a shell that prevents the good start ... |
Topic: 18F4550 + Enhanced CPU |
Scottzilla
Replies: 21
Views: 25645
|
Forum: General CCS C Discussion Posted: Sat Dec 08, 2012 5:08 pm Subject: 18F4550 + Enhanced CPU |
Well, I got it to compile, it's talking to my PC over USB, and it seems to be writing user code when I tell it to. Now I need to make it play nice with my user code. It doesn't look like it ever run ... |
Topic: 18F4550 + Enhanced CPU |
Scottzilla
Replies: 21
Views: 25645
|
Forum: General CCS C Discussion Posted: Sat Dec 08, 2012 5:59 am Subject: 18F4550 + Enhanced CPU |
I know this is way old, but did anybody save a copy of this tutorial? It doesn't seem to be online anymore. |
Topic: Declaring variables in wrong order breaks it (Solved!) |
Scottzilla
Replies: 5
Views: 8383
|
Forum: General CCS C Discussion Posted: Wed Oct 03, 2012 8:21 pm Subject: Declaring variables in wrong order breaks it (Solved!) |
Just wanted to provide an update just in case anybody else experiences this weirdness.
Rearranging memory declarations (but not what was declared) and getting different results indicated it was a m ... |
Topic: Declaring variables in wrong order breaks it (Solved!) |
Scottzilla
Replies: 5
Views: 8383
|
Forum: General CCS C Discussion Posted: Wed Jul 18, 2012 7:13 pm Subject: Declaring variables in wrong order breaks it (Solved!) |
Thanks for the ideas. I'll go see what I can figure out. |
Topic: Declaring variables in wrong order breaks it (Solved!) |
Scottzilla
Replies: 5
Views: 8383
|
Forum: General CCS C Discussion Posted: Tue Jul 17, 2012 7:56 pm Subject: Declaring variables in wrong order breaks it (Solved!) |
I'm writing code for a project, and I've got two hardware prototypes. The code works great in one, but when I program it into the other it acts funny (continuously restarts, etc.). The weird part is ... |
|