Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add BCM43340B0 ROM #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

zjlywjh001
Copy link

Can you add support to bcm43340 chip?

@matthiasseemoo
Copy link
Member

matthiasseemoo commented Jan 14, 2018 via email

@zjlywjh001
Copy link
Author

I extract it by using WICED SDK which can access the backplane directly. The rom can be read at address 0x1e000000 on backplane, but it seemed the firmware in ram can access the rom at 0x800000, and the address 0x800000 on backplane can't be read. I'm not sure it contains flashpatches or not.
Here's my code:

for (i=0;i<10240;i++)
 {
        wwd_bus_transfer_backplane_bytes(BUS_READ,ARMCM3_ROM_BASE+i*64,64,rom_data);
        wiced_uart_transmit_bytes(WICED_UART_2,rom_data,64);
}

@matthiasseemoo
Copy link
Member

matthiasseemoo commented Jan 15, 2018 via email

@zjlywjh001
Copy link
Author

zjlywjh001 commented Jan 15, 2018

I checked my rom file, the flashpatches seemed did not affected the real data in rom. I dump the data from the real rom ,not from the addresses mapped to the system address space. The function which will be patched is started with two "NOPs" exactly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants