BTW, I don't if I ever said this (if so, just a remnider):Before you generate code from HalCoGen, you MUST put the code that is in CCS back in the place where HalCoGen puts its code. That is because there are a few places where I put some stuff in the "USER CODE BEGIN" section. Look in particular at sys_main.c and spi.c (in which I actually commented out a whole bunch of code and put in my own version in hcgExtras).I run CCS on Linux and HCG on Windows, and use dropbox to connect them. HalCoGen writes directly into DropBox. Then I just copy all the files on the Linux side from dropbox into CCS, and if I make any changes in the USER CODE section then I copy it from CCS back to HCG.I'm not sure what you meant about HCG a few mails back. The HalCoGen file PACSatBlinky.hcg certainly is set up for the TMS570LS0914.73,Burns Fisher, WB1FJAMSAT(R) Engineering -- Flight SoftwareOn Mon, Feb 5, 2024 at 4:56 PM Bob Stricklin via pacsat-dev <pacsat-dev@amsat.org> wrote:Just realized that the second temp sensor is not on this board. I took it off to change address and have not put it back yet. Probably will work fine.
From: Burns Fisher (AMSAT) via pacsat-dev <pacsat-dev@amsat.org>
Sent: Monday, February 5, 2024 3:53 PM
To: Bob Stricklin <bstrick@n5brg.com>
Cc: Bill via pacsat-dev <pacsat-dev@amsat.org>
Subject: [pacsat-dev] Re: One board now talkingOh, I see. So this is saying that I2c in general is ok, but that the temp sensor near the CPU is not working for whatever reason (bad bus connection, bad address bit connection, or bad chip).
And regarding the MRAM, I have the chip select wrong on at least one of those MRAM devices. I just found that earlier and did not push it up to the repository.. Let me check what else I have done since I pushed upstream, and if all is ok, I'll push this change too. Looks like most everything in the MRAM is ok otheriwise (whew! Was driving me crazy)
I see you sent something else. Have not seen it yet but will send this.
73,
Burns Fisher, WB1FJAMSAT(R) Engineering -- Flight Software
On Mon, Feb 5, 2024 at 4:43 PM Burns Fisher (AMSAT) <wb1fj@fisher.cc> wrote:
Ok, looks like two of the MRAMs are ok, and two are not for whatever reason. Oh, I bet I know...I think I got the chip select lines wrong on one or two of them. Funny the temp actually looks ok despite the error. In the middle of checking something else. Will get back after a bit more testing.
73,
Burns Fisher, WB1FJAMSAT(R) Engineering -- Flight Software
On Mon, Feb 5, 2024 at 4:41 PM Bob Stricklin via pacsat-dev <pacsat-dev@amsat.org> wrote:
Pacsat>Pacsat>get mram srMRAM0: status 32, MRAM1: status ffMRAM2: status 2, MRAM3: status ffPacsat>get tempCPU Temp request failedTransmitter temp: 99 ( 29.5 degrees C)Pacsat>
From: Burns Fisher (AMSAT) <wb1fj@fisher.cc>
Sent: Monday, February 5, 2024 3:35 PM
To: Bob Stricklin <bstrick@n5brg.com>
Cc: Bill via pacsat-dev <pacsat-dev@amsat.org>
Subject: Re: [pacsat-dev] One board now talkingOh, I just sent you a mail before seeing this.
Wow! Looks like there may be something wrong with my board. Could you do "get mram sr" please? You could try "get temp" also.
I'm not sure if those are the right values for the DCT (the AX5043). I know I had a quick way at one point that I could tell if one particular register was correct. I'll see if I can find it.
73,
Burns Fisher, WB1FJAMSAT(R) Engineering -- Flight Software
On Mon, Feb 5, 2024 at 4:24 PM Bob Stricklin via pacsat-dev <pacsat-dev@amsat.org> wrote:
After getting TX and RX connected correctly now working. Do not know what the correct report back is but here is some checks...
This board has four 4Mb MRAMs installed.
Pacsat>get version
AMSAT-NA PacSat ConsoleFlight Software X0.1k (built on Feb 4 2024 at 21:53:10)Compiled *RELEASE***X, E, U, or DEBUG Version: Not configured for flight**Watchdog NOT EnabledUsing FreeRTOS withOUT premption enabled;Free heap size is 75504Flash memory size 1Mb+0KbMRAM config data partition size=1008, file system size=1047568Pacsat>>get version
AMSAT-NA PacSat ConsoleFlight Software X0.1k (built on Feb 4 2024 at 21:53:10)Compiled *RELEASE***X, E, U, or DEBUG Version: Not configured for flight**Watchdog NOT EnabledUsing FreeRTOS withOUT premption enabled;Free heap size is 75504Flash memory size 1Mb+0KbMRAM config data partition size=1008, file system size=1047568Pacsat>
Pacsat>get RSSIRSSI is -64 dBmPacsat>
Pacsat>get axAX5043 dev 1 TX:FIFOSTAT: 00PWRMODE:: 77XTALCAP: 119PLLLOOP: 77PLLCPI: 77PLLVCOI: 77PLLRANGINGA: 77PLLVCODIV: 77FREQ 1911466666 HzMODULATION: 77TXPWRCOEFFB0: 77TXPWRCOEFFB1: 77
AX5043 dev 0 RX:FIFOSTAT: 00PWRMODE: 67XTALCAP: 103PLLLOOP: 67PLLCPI: 67PLLVCOI: 67PLLRANGINGA: 67PLLVCODIV: 67FREQ 1654462744 HzMODULATION: 67TXPWRCOEFFB0: 67TXPWRCOEFFB1: 67Pacsat>
-----------------------------------------------------------
pacsat-dev mailing list -- pacsat-dev@amsat.org
View archives of this mailing list at https://mailman.amsat.org/hyperkitty/list/pacsat-dev@amsat.org
To unsubscribe send an email to pacsat-dev-leave@amsat.org
Manage all of your AMSAT-NA mailing list preferences at https://mailman.amsat.org
-----------------------------------------------------------
pacsat-dev mailing list -- pacsat-dev@amsat.org
View archives of this mailing list at https://mailman.amsat.org/hyperkitty/list/pacsat-dev@amsat.org
To unsubscribe send an email to pacsat-dev-leave@amsat.org
Manage all of your AMSAT-NA mailing list preferences at https://mailman.amsat.org
-----------------------------------------------------------
pacsat-dev mailing list -- pacsat-dev@amsat.org
View archives of this mailing list at https://mailman.amsat.org/hyperkitty/list/pacsat-dev@amsat.org
To unsubscribe send an email to pacsat-dev-leave@amsat.org
Manage all of your AMSAT-NA mailing list preferences at https://mailman.amsat.org
-----------------------------------------------------------
pacsat-dev mailing list -- pacsat-dev@amsat.org
View archives of this mailing list at https://mailman.amsat.org/hyperkitty/list/pacsat-dev@amsat.org
To unsubscribe send an email to pacsat-dev-leave@amsat.org
Manage all of your AMSAT-NA mailing list preferences at https://mailman.amsat.org