From 212052490342183527399a083c8a82e46e2cb014 Mon Sep 17 00:00:00 2001 From: Mariano Alvira Date: Mon, 13 Apr 2009 09:55:35 -0400 Subject: [PATCH] notes. --- doc/radioinit | 11 ++++++++++- tests/rftest-rx.c | 1 + 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/doc/radioinit b/doc/radioinit index 2220d8d9c..1196e05af 100644 --- a/doc/radioinit +++ b/doc/radioinit @@ -124,7 +124,7 @@ This replacment works: // SMAC_InitFromMemory(gRadioTOCCal3_c,88); // SMAC_InitFromMemory(gRadioTOCCal5,32); // SMAC_InitFromMemory(gRadioInit_RegReplacement_c,344); - SMAC_InitFromFlash(0x1F000); +// SMAC_InitFromFlash(0x1F000); // SMAC_InitFlybackSettings(); flyback_init(); // SMAC_InitFromMemory(gBuckByPass_c,16); @@ -170,4 +170,13 @@ uint32_t InitFromFlash(uint32_t nvmAddress, uint32_t nLength); Which looks like InitFromFlash(0x1F00,?); +Good news! It doesn't look like InitFromFlash is necessary. It might +just be a hook for them to patch the init that is grabbed from rom or +something. + +Checking if buffer_radio_init is important. If so, then I need to +figure out how it's used and, preferably, what it means. + +So buffer_radio_init is necessary for their code to work. I'm not sure +if it is necessary for the radio of if it's necessary for there app. diff --git a/tests/rftest-rx.c b/tests/rftest-rx.c index 96f5f14bc..d14fc69dd 100644 --- a/tests/rftest-rx.c +++ b/tests/rftest-rx.c @@ -104,6 +104,7 @@ void main(void) { init_phy(); /* some kind of sequence in init phy from MACPHY.a dissassmbly */ + /* looks like it's flyback init */ // magic(); reg(MACA_CONTROL) = SMAC_MACA_CNTL_INIT_STATE;