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

Kail debug session disconnected. #14

Open
akirawk opened this issue Oct 22, 2018 · 4 comments
Open

Kail debug session disconnected. #14

akirawk opened this issue Oct 22, 2018 · 4 comments

Comments

@akirawk
Copy link

akirawk commented Oct 22, 2018

Debugging is done with Kail, but the debug session expires at the timing of GPIO initialization of RADIO. why?

#define DEBUG
#define RADIO_DIO_1_PORT GPIOA
#define RADIO_DIO_1_PIN GPIO_PIN_3
#define RADIO_DIO_2_PORT GPIOA
#define RADIO_DIO_2_PIN GPIO_PIN_5
#define RADIO_DIO_3_PORT GPIOA
#define RADIO_DIO_3_PIN GPIO_PIN_6

void SX1272IoInit( void )

		HW_GPIO_Init( RADIO_DIO_1_PORT, RADIO_DIO_1_PIN, &initStruct );


why?
Why debug session disconnected?
Is everyone non problematic?

thanks.
@USI-ShellyWu
Copy link
Collaborator

Any fail log can be provided?

@akirawk
Copy link
Author

akirawk commented Oct 23, 2018

■ Debug fail video.
https://drive.google.com/file/d/1GGXSUmaB4le7aA2hkNtZ_fQrS_xZq5hF/view?usp=sharing
■ Debug option settings.
https://drive.google.com/file/d/1jon4g8KeYKKSBoAZ-mIStBypUr5BW-X2/view?usp=sharing

Please let me know if you have any other necessary information.

thanks.

@USI-ShellyWu
Copy link
Collaborator

Please make sure that SM24 IO patch is applied: https://github.com/USIWP1Module/USI_I-NUCLEO-LRWAN1/tree/master/I-CUBE-LRWAN_patchs

Now, only AT_Slave application can run in this LoRa board.

@akirawk
Copy link
Author

akirawk commented Oct 24, 2018

Yes, I know.
Patches are also included. and I'm targeting for AT_Slave project.

hmm,.hardware problem?

passed ->
HW_GPIO_Init( RADIO_DIO_0_PORT, RADIO_DIO_0_PIN, &initStruct );

failed. ->
HW_GPIO_Init( RADIO_DIO_1_PORT, RADIO_DIO_1_PIN, &initStruct );
HW_GPIO_Init( RADIO_DIO_2_PORT, RADIO_DIO_2_PIN, &initStruct );
HW_GPIO_Init( RADIO_DIO_3_PORT, RADIO_DIO_3_PIN, &initStruct );

pin assign. ->
#define RADIO_DIO_1_PORT GPIOA
#define RADIO_DIO_1_PIN GPIO_PIN_3
#define RADIO_DIO_2_PORT GPIOA
#define RADIO_DIO_2_PIN GPIO_PIN_5
#define RADIO_DIO_3_PORT GPIOA
#define RADIO_DIO_3_PIN GPIO_PIN_6

I also confirmed that it is not the GPIO used by ST - LINK.
I will try it on another board. Or can you try my project?

Best regard.

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

No branches or pull requests

2 participants