Author |
Message |
Topic: UDP Packet Loss Issue in Embedded Project with CCS C and PIC |
asmallri
Replies: 3
Views: 1271
|
Forum: General CCS C Discussion Posted: Thu Feb 27, 2025 2:12 am Subject: Re: UDP Packet Loss Issue in Embedded Project with CCS C and |
Hello,
I am currently working on an embedded project using the CCS C compiler for a PICmicro microcontroller. I've configured the system to use communication over an Ethernet network, but I'm encou ... |
Topic: 24EP256GP202 and and erase_program_memory() |
asmallri
Replies: 1
Views: 1386
|
Forum: General CCS C Discussion Posted: Mon Jan 20, 2025 10:05 pm Subject: 24EP256GP202 and and erase_program_memory() |
Your code is erasing the reset vector. Did you mean to do that? |
Topic: #define CONST=ROM "ROM data" issue (0x2AAAAAAA???) |
asmallri
Replies: 13
Views: 5898
|
Forum: General CCS C Discussion Posted: Mon Jan 20, 2025 9:56 pm Subject: #define CONST=ROM "ROM data" issue (0x2AAAAAAA???) |
But after loading this program, and reading back the hex file, I see it does look like my program is reporting:
:
:10A00000112233004455660077889900AABBCC0022
:10A01000DDEEFF0042FFFF ... |
Topic: Bootloader with two apps flashing pattern |
asmallri
Replies: 5
Views: 3744
|
Forum: General CCS C Discussion Posted: Fri Dec 27, 2024 6:07 am Subject: Bootloader with two apps flashing pattern |
So we have no other option than to build slot A and slot B hexes and push correct ones on demand.
The first OS I learned on was Microware's OS-9/6809. It was fully position independent, and I t ... |
Topic: sd_mmc & PCD |
asmallri
Replies: 16
Views: 9286
|
Forum: General CCS C Discussion Posted: Fri Nov 29, 2024 1:41 am Subject: sd_mmc & PCD |
OK, Ehaa..
This corrections also not enough to use ex_fat.c
I have looked at your posted schematic and there are a few issues with it. Here is a troubleshooting guide that covers these issue ... |
Topic: interrupt in bootloader |
asmallri
Replies: 8
Views: 7550
|
Forum: General CCS C Discussion Posted: Sun Jun 30, 2024 6:53 pm Subject: interrupt in bootloader |
For 99% of situations, I'd say you are right. The 1%, is the odd situation,,
where (for example), you are very restricted on space, and have just
enough room in the allocated page for the bootloade ... |
Topic: interrupt in bootloader |
asmallri
Replies: 8
Views: 7550
|
Forum: General CCS C Discussion Posted: Sat Jun 29, 2024 6:10 am Subject: interrupt in bootloader |
You have not convinced me but maybe this is because I use common CPU boards across multiple projects. The bootloaders, once installed, stay on the board irrespective of the project / application. I wo ... |
Topic: interrupt in bootloader |
asmallri
Replies: 8
Views: 7550
|
Forum: General CCS C Discussion Posted: Fri Jun 28, 2024 7:39 pm Subject: Re: interrupt in bootloader |
I know a thing or two about bootloaders. The question to ask yourself is why do you need a bootloader to support interrupts?
A bootloader really has a single task - to bootload an image.
Addin ... |
Topic: Garbage serial characters |
asmallri
Replies: 10
Views: 9499
|
Forum: General CCS C Discussion Posted: Wed Jun 12, 2024 5:51 am Subject: Garbage serial characters |
Neglected to mention, when I rid the code of all the interrupts/etc, things run well. What I'm specifically puzzled about is why only PORT2 giving the trouble and not PORT1...
You have configured ... |
Topic: PIC18F47J53 CCS C Compiler 5.090 mmcsd_write_block issue |
asmallri
Replies: 7
Views: 9251
|
Forum: General CCS C Discussion Posted: Fri Mar 08, 2024 7:21 pm Subject: PIC18F47J53 CCS C Compiler 5.090 mmcsd_write_block issue |
I agree with Ttelmah, adding power control for the SD card which, when. idle, draws a similar current as the switch does. So virtually no power saving but the switch has added complexity to your softw ... |
Topic: PIC18F47J53 CCS C Compiler 5.090 mmcsd_write_block issue |
asmallri
Replies: 7
Views: 9251
|
Forum: General CCS C Discussion Posted: Fri Mar 08, 2024 7:55 am Subject: PIC18F47J53 CCS C Compiler 5.090 mmcsd_write_block issue |
Ckeck your hardware again.
Check the pull-up resistor on the DO line from the card. I had an issue once where the pull up (an SMD resistor) was perfectly soldered but was open circuit. The pull-u ... |
Topic: PIC18F47J53 MicroSD issue (all blocks erased to 0xFF) |
asmallri
Replies: 9
Views: 13296
|
Forum: General CCS C Discussion Posted: Sat Dec 02, 2023 6:51 pm Subject: PIC18F47J53 MicroSD issue (all blocks erased to 0xFF) |
Hi,
I'm using pic18f47j53 in order to collect data in an outdoor application and store them on microsd.
All worked fine in my field test 1 month long.
When I tried 150 devices for 4 month te ... |
Topic: Is possible to read, write bit by bit from internal EEPROM? |
asmallri
Replies: 9
Views: 12748
|
Forum: General CCS C Discussion Posted: Tue Nov 14, 2023 7:12 am Subject: Is possible to read, write bit by bit from internal EEPROM? |
oky, thank you.
I do not find anithing...
I know the wite is distroing the eeprom device .
that I was asking special for single bit...
There are a few things to consider, you may already have co ... |
Topic: Ethernet system architecture help |
asmallri
Replies: 15
Views: 26616
|
Forum: General CCS C Discussion Posted: Thu Aug 10, 2023 8:10 am Subject: Ethernet system architecture help |
..
Would you recommend a PIC with an Ethernet Module (PIC18F97J60) or a non ethernet pic with an external ethernet controller (ENC28J60 or Wiznet W5500)?
If the CCS stack supports both the PIC18 ... |
Topic: Ethernet system architecture help |
asmallri
Replies: 15
Views: 26616
|
Forum: General CCS C Discussion Posted: Thu Aug 10, 2023 2:01 am Subject: Ethernet system architecture help |
First a bit about multicast..
Multicast is a little complex as multicast addressing occurs both a the link layer (multicast MAC address) and the Network layer (IP multicast) so an IP multicast pack ... |
|