Sort beans for pebbles.
Rinse under cold water.
Add beans, onion, salt, pepper, and ham into the crock pot.
Add enough water to cover beans by 2 inches.
Cover and cook on low for 6-8 hours.
Remove ham to pull meat off the bone.
Add back to the crockpot and add brown sugar.
Serve with cornbread.